copy

open override fun copy(temperature: Double?, maxTokens: Int?, numberOfChoices: Int?, speculation: String?, schema: LLMParams.Schema?, toolChoice: LLMParams.ToolChoice?, user: String?, additionalProperties: Map<String, JsonElement>?): BedrockConverseParams(source)


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, topP: Double? = this.topP, stopSequences: List<String>? = this.stopSequences, performanceConfig: PerformanceConfiguration? = this.performanceConfig, promptVariables: Map<String, PromptVariableValues>? = this.promptVariables, requestMetadata: Map<String, String>? = this.requestMetadata): BedrockConverseParams(source)

Creates a copy of this instance with the ability to modify any of its properties.