FindChoicesOptions interface
Basic search options used to control how choices are recognized in a users utterance.
- Extends
Properties
| no |
If true, the action title of the choice will not be included in the search. |
| no |
If true, the value of the choice will not be included in the search. |
| recognize |
If true, numbers will be recognized as choices. |
| recognize |
If true, ordinals (e.g., first, second) will be recognized as choices. |
Inherited Properties
| allow |
If true, allows partial matches of values in the search. |
| locale | The locale to use for tokenization and comparison. |
| max |
The maximum token distance allowed between matches. |
| tokenizer | The tokenizer function to use for breaking the utterance into tokens. |
Property Details
noAction
If true, the action title of the choice will not be included in the search.
noAction?: boolean
Property Value
boolean
noValue
If true, the value of the choice will not be included in the search.
noValue?: boolean
Property Value
boolean
recognizeNumbers
If true, numbers will be recognized as choices.
recognizeNumbers?: boolean
Property Value
boolean
recognizeOrdinals
If true, ordinals (e.g., first, second) will be recognized as choices.
recognizeOrdinals?: boolean
Property Value
boolean
Inherited Property Details
allowPartialMatches
If true, allows partial matches of values in the search.
allowPartialMatches?: boolean
Property Value
boolean
Inherited From FindValuesOptions.allowPartialMatches
locale
The locale to use for tokenization and comparison.
locale?: string
Property Value
string
Inherited From FindValuesOptions.locale
maxTokenDistance
The maximum token distance allowed between matches.
maxTokenDistance?: number
Property Value
number
Inherited From FindValuesOptions.maxTokenDistance
tokenizer
The tokenizer function to use for breaking the utterance into tokens.
tokenizer?: TokenizerFunction
Property Value
Inherited From FindValuesOptions.tokenizer