temperature

expect open override fun temperature(temperature: Double): AIAgentServiceBuilder(source)

Sets the temperature parameter, which adjusts the randomness of the model's outputs. A higher temperature value results in more varied and creative responses, whereas a lower temperature value yields more focused and deterministic responses.

Return

The updated instance of AIAgentServiceBuilder.

Parameters

temperature

The desired temperature value for controlling output randomness.

actual open override fun temperature(temperature: Double): AIAgentServiceBuilder(source)

Sets the temperature parameter, which adjusts the randomness of the model's outputs. A higher temperature value results in more varied and creative responses, whereas a lower temperature value yields more focused and deterministic responses.

Return

The updated instance of AIAgentServiceBuilder.

Parameters

temperature

The desired temperature value for controlling output randomness.

actual open override fun temperature(temperature: Double): AIAgentServiceBuilder(source)

Sets the temperature parameter, which adjusts the randomness of the model's outputs. A higher temperature value results in more varied and creative responses, whereas a lower temperature value yields more focused and deterministic responses.

Return

The updated instance of AIAgentServiceBuilder.

Parameters

temperature

The desired temperature value for controlling output randomness.