Building an Intelligent Chat Bot
with
Microsoft Bot Framework
What Is a Bot and Why Should I Care?
• Application that performs an automated task
• Bots are the wave of the future
What are we going to create today ?
Bot Communication
User
Channel
The medium in which your bot communicates
Bot
Bot Evolution
Simplest
One Medium
Keyword Base
Moderate
Multiple Mediums
Utilizes Custom
Messaging
Keyword Based
Hardest
Multiple Mediums
Utilizes Custom
Messaging
Understands
Natural Language
SDK For Building Bots
Introduced at Build 2016
Microsoft Bot
Framework Numbers of New Updates in #Build 2017
Open Source
Node.js or .NET
Multiple Channels
Rich Attachment Support
Natural Language Processing
Connector Service and Activities
Channel
BotConnector Service
Channel JSON
Activity JSON
Connector Service and Activities
Visual Studio 2015 with update 3 or Visual Studio 2017
(http://www.visualstudion.com)
Update all VS extensions
(Tools -> Extensions and Updates -> Updates)
Prerequisites Download Bot Application Template
(http://aka.ms/bf-bc-vstemplate)
Install in (%USERPROFILE%DocumentsVisual Studio
2017TemplatesProjectTemplatesVisual C#)
To test the bot, install bot framework emulator from here
(https://emulator.botframework.com/)
Let’s Create Our First Bot
Dialogs in Bot Framework
• Message
• DeleteUserData
• ConversationUpdate
• ContactRelationUpdate
• Typing
• Ping
Activity Types
Set the temperature in
the kitchen to 21 degrees
Luis.AI
Utterance (input)
A spoken or written message
Luis.AI
Utterance (input)
A spoken or written message
Intent (Output)
What is the user intending to do? Set the temperature in
the kitchen to 21 degrees
Luis.AI
Utterance (input)
A spoken or written message
Intent (Output)
What is the user intending to do?
Entity (Output)
What objects are being referred?
Set the temperature in
the kitchen to 21 degrees
What’s Next
https://github.com/rukshandangalla/MovieInfo.API
MovieInfo.API GitHub
https://github.com/rukshandangalla/MovieSeeker
MovieSeeker GitHub
https://docs.microsoft.com/en-us/bot-framework/
MS Bot Framework Documentation
https://github.com/Microsoft/BotBuilder-Samples
Bot Builder Samples
Thank You

Building intelligent chat bot with microsoft bot framework

Editor's Notes

  • #3 The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • #7 The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • #10 The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • #13 The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.