Microsoft And Bot’s
VIVEK P .S
System Analyst UST Global
http://vivekcek.wordpress.com
Agenda
• Think and build chatbots
Demo
What is a Chabot ?
• A.I computer programs designed to behave like a human that you can
interact with, in order to get information or get things done
• Promote the concept of Conversational UI
Why bots getting fame?
• People like conversation
History
• ELIZA
Developed in the 1960s
• Eliza’s conversation with a patient is:-
– Human: Well, my boyfriend made me come here.
• ELIZA: Your boyfriend made you come here?
• Human: He says I'm depressed much of the time.
• ELIZA: I am sorry to hear you are depressed.
• Human: It's true. I'm unhappy.
• ELIZA: Do you think coming here will help you not to be unhappy?
Bot Communication
Microsoft Offerings
• Microsoft Bot Framework.
 Introduced in Build 2016
• Azure Bot As A Service.
• Server less concept built on top of azure functions and Bot Framework
Microsoft Bot Framework
• Need Visual Studio 2015
• All information is at https://dev.botframework.com/
• Install Bot Framework Emulator
• Install Bot Framework template.
Build Your First Bot
• Demo and publish to azure
Bot Connector
• The middle man between your bot web service and channel.
Simplified Bot Communication
Bot Connector High Level
• Bot connector acts as an adapter between our bot and numerous channels
that it supports
Bot Connector as a Translator
Facebook
JSON
Skype
JSON
Conversation
• A conversation is a series of message sent between your bot and one
or more users.
• You have skype account
• Bot have a skype account
• Bot connector create conversation between you and bot.
• A conversation is identified by Channel ID(Skype), User ID, Bot ID and
Conversation ID
• Conversation State is stored by the bot connector
Activity
• Each message in a conversation is called activity
• Conversation is composed of Activities.
High Level Communication
Dialog
• Breaks up conversations into smaller pieces
• Conversational abstractions that encapsulate their own state
Demo Dialog
What is a Form Flow?
Advantages Of Form Flow
• Handling a guided conversation
Form Flow Demo
Natural Language Processing
• Ability of the computer to understand, what a person want.
• I want to get fares from Trivandrum to Chennai tomorrow.
• I am looking for trains from Trivandrum to Chennai.
What is LUIS?
• Language Understanding Intelligent Service by Microsoft
• Makes natural language processing possible
• Utilizes interactive machine learning
Without LUIS
With LUIS
Intents
• Identifies what actions you want your bot to take
• Utilizes Active Learning to improve over time
• Ex: Get Rail Fare
Entities
• Identifies what things your bot is taking action on
• Ex: Departure Station, Arrival Station and Date.
Utterances
• Used to help LUIS learn
• Ex: I like to travel from Trivandrum to Chennai on tomorrow.
LUIS Demo
Azure Bot As A Service
• Accelerate your bot’s development by working in an integrated
environment
• Server less with Azure Functions.
• Billing based on
• Execution Time (₹0.001058/GB-s)
• Total Executions (₹13.22 per Million Executions)
Demo
Questions?
Thank You

Microsoft Bot Framework

  • 1.
    Microsoft And Bot’s VIVEKP .S System Analyst UST Global http://vivekcek.wordpress.com
  • 2.
    Agenda • Think andbuild chatbots
  • 3.
  • 4.
    What is aChabot ? • A.I computer programs designed to behave like a human that you can interact with, in order to get information or get things done • Promote the concept of Conversational UI
  • 5.
    Why bots gettingfame? • People like conversation
  • 6.
    History • ELIZA Developed inthe 1960s • Eliza’s conversation with a patient is:- – Human: Well, my boyfriend made me come here. • ELIZA: Your boyfriend made you come here? • Human: He says I'm depressed much of the time. • ELIZA: I am sorry to hear you are depressed. • Human: It's true. I'm unhappy. • ELIZA: Do you think coming here will help you not to be unhappy?
  • 7.
  • 8.
    Microsoft Offerings • MicrosoftBot Framework.  Introduced in Build 2016 • Azure Bot As A Service. • Server less concept built on top of azure functions and Bot Framework
  • 9.
    Microsoft Bot Framework •Need Visual Studio 2015 • All information is at https://dev.botframework.com/ • Install Bot Framework Emulator • Install Bot Framework template.
  • 10.
    Build Your FirstBot • Demo and publish to azure
  • 11.
    Bot Connector • Themiddle man between your bot web service and channel.
  • 12.
  • 13.
    Bot Connector HighLevel • Bot connector acts as an adapter between our bot and numerous channels that it supports
  • 14.
    Bot Connector asa Translator Facebook JSON Skype JSON
  • 15.
    Conversation • A conversationis a series of message sent between your bot and one or more users. • You have skype account • Bot have a skype account • Bot connector create conversation between you and bot. • A conversation is identified by Channel ID(Skype), User ID, Bot ID and Conversation ID • Conversation State is stored by the bot connector
  • 16.
    Activity • Each messagein a conversation is called activity • Conversation is composed of Activities.
  • 17.
  • 18.
    Dialog • Breaks upconversations into smaller pieces • Conversational abstractions that encapsulate their own state
  • 19.
  • 20.
    What is aForm Flow?
  • 21.
    Advantages Of FormFlow • Handling a guided conversation
  • 22.
  • 23.
    Natural Language Processing •Ability of the computer to understand, what a person want. • I want to get fares from Trivandrum to Chennai tomorrow. • I am looking for trains from Trivandrum to Chennai.
  • 24.
    What is LUIS? •Language Understanding Intelligent Service by Microsoft • Makes natural language processing possible • Utilizes interactive machine learning
  • 25.
  • 26.
  • 27.
    Intents • Identifies whatactions you want your bot to take • Utilizes Active Learning to improve over time • Ex: Get Rail Fare
  • 28.
    Entities • Identifies whatthings your bot is taking action on • Ex: Departure Station, Arrival Station and Date.
  • 29.
    Utterances • Used tohelp LUIS learn • Ex: I like to travel from Trivandrum to Chennai on tomorrow.
  • 30.
  • 31.
    Azure Bot AsA Service • Accelerate your bot’s development by working in an integrated environment • Server less with Azure Functions. • Billing based on • Execution Time (₹0.001058/GB-s) • Total Executions (₹13.22 per Million Executions)
  • 32.
  • 33.
  • 34.