The Microsoft Bot Framework -is a powerful set of services, tools, and SDKs that provides a foundation for developers to build and connect intelligent bots.simplifies the build and deployment of functional chatbots.MBF - An IntroductionBot development using Microsoft Bot Framework can be done in more than one way.Using C#Using NodeJSIn this course, we are focusing on the development using C# and Visual Studio 2017.MBF - ChannelChannel is simply a link or connection between the bot and an app in which it isdeployed.Examples of channels include websites and mobile applications including Slack, Facebook, email, etc.Using MBF, you can build the bot and publish it to multiple channels with littleeffort without having to make different bots for different apps.MBF - UtteranceUtterances are essentially the messages that the user of a chatbot sends to the chatbot.For instance, in the above image, the blue bubble is an utterance.MBF - IntentIntent denotes the intention of the chatbot user by the message that he sent to the bot.The bot's machine learning model will recognize the intent so as to give an appropriate reply.For example, inBook me a ticket for today's movie.the intent could be book ticket.The next card shows few more example messages along with their corresponding possible intent.MBF - EntityAn entity is something that adds more information to an intent. It modifies or fine tunes the meaning of the intent.It represents an object or a value that the bot can process.InBook ticket for the flight at 8:00PM on Friday.Intent is Book ticket. And the entities are flight, 8:00 PM, Friday. These are values that can be used.MBF - Prerequisites for .NET developmentFor using and deploying bots using MBF, you need the following:Microsoft Visual Studio 2017LUIS (Language Understanding Intelligent Service)A Microsoft Azure subscription
MBF - Bot emulatorThe Bot Framework emulator is a Desktop application that can be used to test thebot developed using the Microsoft Bot Framework locally.It can be downloaded from here.The emulator needs the endpoint URL of the bot. Microsoft App Id, password and locale are not needed if you are testing the bot locally.MBF - a Walk-ThroughThe MessageController class will be a single HttpPost method with an Activity object as its parameter.Activity object is used to pass messages between the bot and the Channel.A channel is the link between the bot and the app in which the bot is deployed.The activity types supported in bot builder for .NET includeMessageTypingEndOfConversationThe most common one is Message.The message received from the user invokes the root dialog - RootDialog.RootDialog is a class that inherits the IDialog<object> interface.StartAsync(): This is the method that is invoked on navigation to the Dialog class.