Partager via


GeminiPromptExecutionSettings.TopK Property

Definition

Gets or sets the value of the TopK property. The TopK property represents the maximum value of a collection or dataset.

[System.Text.Json.Serialization.JsonPropertyName("top_k")]
public int? TopK { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("top_k")>]
member this.TopK : Nullable<int> with get, set
Public Property TopK As Nullable(Of Integer)

Property Value

Attributes

Applies to