Partager via


GeminiPromptExecutionSettings.TopP Property

Definition

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

[System.Text.Json.Serialization.JsonPropertyName("top_p")]
public double? TopP { get; set; }
[<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