Udostępnij za pośrednictwem


GeminiPromptExecutionSettings.Temperature Property

Definition

Temperature controls the randomness of the completion. The higher the temperature, the more random the completion. Range is 0.0 to 1.0.

[System.Text.Json.Serialization.JsonPropertyName("temperature")]
public double? Temperature { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("temperature")>]
member this.Temperature : Nullable<double> with get, set
Public Property Temperature As Nullable(Of Double)

Property Value

Attributes

Applies to