Partager via


MistralAIPromptExecutionSettings.TopP Property

Definition

Default: 1 Nucleus sampling, where the model considers the results of the tokens with top_p probability mass.So 0.1 means only the tokens comprising the top 10% probability mass are considered.

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

Property Value

Attributes

Remarks

We generally recommend altering this or temperature but not both.

Applies to