Share via


PromptRecognizeChoicesOptions Class

Definition

public class PromptRecognizeChoicesOptions : Microsoft.Bot.Builder.Dialogs.IPromptRecognizeChoicesOptions
type PromptRecognizeChoicesOptions = class
    interface IPromptRecognizeChoicesOptions
    interface IPromptRecognizeValuesOptions
Public Class PromptRecognizeChoicesOptions
Implements IPromptRecognizeChoicesOptions
Inheritance
PromptRecognizeChoicesOptions
Implements

Constructors

PromptRecognizeChoicesOptions()

Properties

AllowPartialMatches

(Optional) if true, then only some of the tokens in a value need to exist to be considered a match.The default value is "false".

ExcludeAction

(Optional) If true, the choices action will NOT be recognized over.

ExcludeValue

(Optional) If true, the choices value will NOT be recognized over.

MaxTokenDistance

(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".

Applies to