IPromptAttachmentFeatures interface
Optional features for PromptAttachment class.
- Extends
Properties
default |
The library namespace to use for the defaultRetryPrompt. If not specified then the bots default namespace of "*" will be used. |
default |
The default retryPrompt to send should the caller not provide one. |
disable |
If true, then the prompt should not execute it's own recognition logic. The default is "false". |
recognize |
(Optional) The score that should be returned when attachments are detected. The default value is "1.0". |
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 attachments are detected. The default value is "1.0".
recognizeScore?: number
Property Value
number