Share via


MistralAIPromptExecutionSettings.Temperature Property

Definition

Default: 0.7 What sampling temperature to use, between 0.0 and 1.0. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.

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

Property Value

Attributes

Remarks

We generally recommend altering this or top_p but not both.

Applies to