OpenAIPromptExecutionSettings.Temperature Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Temperature controls the randomness of the completion. The higher the temperature, the more random the completion. Default is 1.0.
[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("temperature")]
public double? Temperature { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyName("temperature")>]
member this.Temperature : Nullable<double> with get, set
Public Property Temperature As Nullable(Of Double)
Property Value
- Attributes