Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IntentRecognizerSet

Federates a recognize() call across a set of intent recognizers.

Hierarchy

Implements

Index

Constructors

constructor

Properties

length

length: number

Number of recognizers in the set.

Methods

clone

onEnabled

  • Registers a function to conditionally enable/disable the recognizer. Multiple handlers can be registered and the new handler will be executed before any other handlers.

    Parameters

    • handler: function

      Function called for every message. You should call callback(null, true) for every message that should be recognized.

        • Parameters

          • context: IRecognizeContext
          • callback: function
              • (err: Error, enabled: boolean): void
              • Parameters

                • err: Error
                • enabled: boolean

                Returns void

          Returns void

    Returns RecognizerFilter

onFilter

onRecognize

recognize

recognizer

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