ChatOptions.TopK 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.
Gets or sets the number of most probable tokens that the model considers 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
Remarks
This property reduces the probability of generating nonsense. A higher value gives more diverse answers, while a lower value is more conservative.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET