Share via


PromptRecognizeChoicesOptions.MaxTokenDistance 属性

定义

(可选) 话语中两个匹配标记之间允许的最大标记数。因此,当最大距离为 2 时,值“second last”将匹配话语“second from the last”,但它与“Wait a second a second”不匹配。 这不是最后一个吗? 默认值为“2”。

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

属性值

实现

适用于