Share via


FindChoicesOptions Class

Definition

Contains options to control how input is matched against a list of choices.

public class FindChoicesOptions : Microsoft.Bot.Builder.Dialogs.Choices.FindValuesOptions
type FindChoicesOptions = class
    inherit FindValuesOptions
Public Class FindChoicesOptions
Inherits FindValuesOptions
Inheritance
FindChoicesOptions

Constructors

FindChoicesOptions()

Properties

AllowPartialMatches

Gets or sets a value indicating whether only some of the tokens in a value need to exist to be considered a match. The default value is "false". This is optional.

(Inherited from FindValuesOptions)
Locale

Gets or sets the locale/culture code of the utterance. The default is en-US. This is optional.

(Inherited from FindValuesOptions)
MaxTokenDistance

Gets or sets the maximum tokens allowed between two matched tokens in the utterance. So with a max distance of 2 the value "second last" would match the utterance "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".

(Inherited from FindValuesOptions)
NoAction

Gets or sets a value indicating whether the title of the choices action will NOT be searched over. The default is false. This is optional.

NoValue

Gets or sets a value indicating whether the choices value will NOT be search over. The default is false. This is optional.

RecognizeNumbers

Gets or sets a value indicating whether the recognizer should check for Numbers using the NumberRecognizer's NumberModel.

RecognizeOrdinals

Gets or sets a value indicating whether the recognizer should check for Ordinal Numbers using the NumberRecognizer's OrdinalModel.

Tokenizer

Gets or sets the tokenizer to use when parsing the utterance and values being recognized.

(Inherited from FindValuesOptions)

Applies to