Partager via


OpenAIPromptExecutionSettings.TopP Property

Definition

TopP controls the diversity of the completion. The higher the TopP, the more diverse the completion. Default is 1.0.

[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("top_p")]
public double? TopP { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyName("top_p")>]
member this.TopP : Nullable<double> with get, set
Public Property TopP As Nullable(Of Double)

Property Value

Attributes

Applies to