copy
fun copy(temperature: Double? = this.temperature, maxTokens: Int? = this.maxTokens, numberOfChoices: Int? = this.numberOfChoices, speculation: String? = this.speculation, schema: LLMParams.Schema? = this.schema, toolChoice: LLMParams.ToolChoice? = this.toolChoice, user: String? = this.user, additionalProperties: Map<String, JsonElement>? = this.additionalProperties, enableSearch: Boolean? = this.enableSearch, parallelToolCalls: Boolean? = this.parallelToolCalls, enableThinking: Boolean? = this.enableThinking, frequencyPenalty: Double? = this.frequencyPenalty, presencePenalty: Double? = this.presencePenalty, logprobs: Boolean? = this.logprobs, stop: List<String>? = this.stop, topLogprobs: Int? = this.topLogprobs, topP: Double? = this.topP): DashscopeParams(source)
Creates a copy of this instance with the ability to modify any of its properties.