PromptRecognizeChoicesOptions.MaxTokenDistance 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.
(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)