OllamaPromptExecutionSettings.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.
The temperature of the model. Increasing the temperature will make the model answer more creatively. (Default: 0.8)
[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("temperature")]
public float? 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<single> with get, set
Public Property Temperature As Nullable(Of Single)
Property Value
- Attributes