botframework Adding Natural Language Processing


Introduction

Bot Framework supports Recognizers. A recognizer is used to recognize what to do whenever a user sends the bot any message. Therefore you can design your bot to recognize intents based on the user input. The recognizer can be used with LUIS API in order to add natural language understanding for the bot.

Syntax

  • var recognizer = new builder.LUISRecognizer('Your model's URL');

  • var intents = new builder.IntentDialog({recognizers: [recognizer]});