PromptRecognizeChoicesOptions.MaxTokenDistance Property

Definition

(Optional) maximum tokens allowed between two matched tokens in the utterance.So with a max distance of 2 the value "second last" would match the utternace "second from the last" but it wouldn't match "Wait a second. That's not the last one is it?". The default value is "2".

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

Property Value

Implements

Applies to