Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPromptRecognizeChoicesOptions

Hierarchy

Index

Properties

Optional allowPartialMatches

allowPartialMatches: boolean

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

Optional excludeAction

excludeAction: boolean

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

Optional excludeValue

excludeValue: boolean

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

Optional maxTokenDistance

maxTokenDistance: number

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

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