Microsoft Bot Framework.txt - The Microsoft Bot Framework is a powerful set of services tools and SDKs that provides a foundation for developers to

Microsoft Bot Framework.txt - The Microsoft Bot Framework...

This preview shows page 1 - 3 out of 8 pages.

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 Introduction Bot development using Microsoft Bot Framework can be done in more than one way. Using C# Using NodeJS In this course, we are focusing on the development using C# and Visual Studio 2017. MBF - Channel Channel is simply a link or connection between the bot and an app in which it is deployed. 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 little effort without having to make different bots for different apps. MBF - Utterance Utterances 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 - Intent Intent 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, in Book 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 - Entity An 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. In Book 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 development For using and deploying bots using MBF, you need the following: Microsoft Visual Studio 2017 LUIS (Language Understanding Intelligent Service) A Microsoft Azure subscription
Image of page 1
MBF - Bot emulator The Bot Framework emulator is a Desktop application that can be used to test the bot 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-Through The 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 include Message Typing EndOfConversation The 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.
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 8 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture