Udostępnij przez


OllamaPromptExecutionSettings.Temperature Property

Definition

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

Applies to