Documentation - v1.2.0-alpha.3
    Preparing search index...

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

    interface FindChoicesOptions {
        allowPartialMatches?: boolean;
        locale?: string;
        maxTokenDistance?: number;
        noAction?: boolean;
        noValue?: boolean;
        recognizeNumbers?: boolean;
        recognizeOrdinals?: boolean;
        tokenizer?: TokenizerFunction;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowPartialMatches?: boolean

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

    locale?: string

    The locale to use for tokenization and comparison.

    maxTokenDistance?: number

    The maximum token distance allowed between matches.

    noAction?: boolean

    If true, the action title of the choice will not be included in the search.

    noValue?: boolean

    If true, the value of the choice will not be included in the search.

    recognizeNumbers?: boolean

    If true, numbers will be recognized as choices.

    recognizeOrdinals?: boolean

    If true, ordinals (e.g., first, second) will be recognized as choices.

    tokenizer?: TokenizerFunction

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