Share via


FindValuesOptions interface

Basic search options used to control how choices are recognized in a users utterance.

Properties

allowPartialMatches

If true, allows partial matches of values in the search.

locale

The locale to use for tokenization and comparison.

maxTokenDistance

The maximum token distance allowed between matches.

tokenizer

The tokenizer function to use for breaking the utterance into tokens.

Property Details

allowPartialMatches

If true, allows partial matches of values in the search.

allowPartialMatches?: boolean

Property Value

boolean

locale

The locale to use for tokenization and comparison.

locale?: string

Property Value

string

maxTokenDistance

The maximum token distance allowed between matches.

maxTokenDistance?: number

Property Value

number

tokenizer

The tokenizer function to use for breaking the utterance into tokens.

tokenizer?: TokenizerFunction

Property Value