Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPromptChoiceFeatures

Optional features for PromptChoice class.

Hierarchy

Index

Properties

Optional defaultListStyle

defaultListStyle: ListStyle

(Optional) style to use as the default when the caller specifies ListStyle.auto and it's determined that keyboards aren't supported. The default value is "ListStyle.list".

Optional defaultRetryNamespace

defaultRetryNamespace: string

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

Optional defaultRetryPrompt

defaultRetryPrompt: TextOrMessageType

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

Optional disableRecognizer

disableRecognizer: boolean

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

Optional inlineListCount

inlineListCount: number

(Optional) number of items to show in an inline list when a defaultListStyle of ListStyle.list is being applied. The default value is "3". Set this value to "0" to disable inline mode.

Optional minScore

minScore: number

(Optional) minimum score from 0.0 - 1.0 needed for a recognized choice to be considered a match. The default value is "0.4".

Optional recognizeChoices

recognizeChoices: boolean

(Optional) if true, the prompt will attempt to recognize the selected value using the choices themselves. The default value is "true".

Optional recognizeNumbers

recognizeNumbers: boolean

(Optional) if true, the prompt will attempt to recognize numbers in the users utterance as the index of the choice to return. The default value is "true".

Optional recognizeOrdinals

recognizeOrdinals: boolean

(Optional) if true, the prompt will attempt to recognize ordinals like "the first one" or "the second one" as the index of the choice to return. The default value is "true".

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method