IPromptTextFeatures interface

Optional features for PromptText class.

Extends

Properties

defaultRetryNamespace

The library namespace to use for the defaultRetryPrompt. If not specified then the bots default namespace of "*" will be used.

defaultRetryPrompt

The default retryPrompt to send should the caller not provide one.

disableRecognizer

If true, then the prompt should not execute it's own recognition logic. The default is "false".

recognizeScore

(Optional) The score that should be returned when the prompts onRecognize() handler is called. The default value is "0.5".

Property Details

defaultRetryNamespace

The library namespace to use for the defaultRetryPrompt. If not specified then the bots default namespace of "*" will be used.

defaultRetryNamespace?: string

Property Value

string

defaultRetryPrompt

The default retryPrompt to send should the caller not provide one.

defaultRetryPrompt?: TextOrMessageType

Property Value

disableRecognizer

If true, then the prompt should not execute it's own recognition logic. The default is "false".

disableRecognizer?: boolean

Property Value

boolean

recognizeScore

(Optional) The score that should be returned when the prompts onRecognize() handler is called. The default value is "0.5".

recognizeScore?: number

Property Value

number