Share via


ChatOptions.TopK Property

Definition

Gets or sets a count indicating how many of the most probable tokens the model should consider when generating the next part of the text.

public:
 property Nullable<int> TopK { Nullable<int> get(); void set(Nullable<int> value); };
public int? TopK { get; set; }
member this.TopK : Nullable<int> with get, set
Public Property TopK As Nullable(Of Integer)

Property Value

Applies to