Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IIntentRecognizer interface
- Package:
- botbuilder
Interface implemented by intent recognizer plugins like the LuisRecognizer class.
Methods
| recognize(IRecognizeContext, (err: Error, result: IIntentRecognizerResult) => void) | Attempts to match a users text utterance to an intent. |
Method Details
recognize(IRecognizeContext, (err: Error, result: IIntentRecognizerResult) => void)
Attempts to match a users text utterance to an intent.
function recognize(context: IRecognizeContext, callback: (err: Error, result: IIntentRecognizerResult) => void)
Parameters
- context
- IRecognizeContext
Contextual information for a received message that's being recognized.
- callback
-
(err: Error, result: IIntentRecognizerResult) => void
Function to invoke with the results of the recognition operation.
