OpenAIPromptExecutionSettings.TopP 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.
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