Upgrade to Pro — share decks privately, control downloads, hide ads and more …

An Introduction to Azure Bot Framework and LUIS...

Ryan Joy
August 17, 2016

An Introduction to Azure Bot Framework and LUIS.ai

Ryan Joy

August 17, 2016
Tweet

More Decks by Ryan Joy

Other Decks in Technology

Transcript

  1. Your Bot Framework Bot Bot Connector Bot Directory Bot Builder

    SDKs Connect your bot(s) to text/sms, Office 365 mail, Skype, Slack, and other services. Build great dialogs within your Node.js or C# bot Try, use, and add published bots to the world’s top conversation experiences • Register, connect, publish and manage your bot through the bot dashboard • Message routing • Automatic translation to 30+ languages • User and state management • Embeddable web chat control • Debugging tools • Open source SDK on Github • From simple built-in prompts and command dialogs to simple to use yet sophisticated ‘FormFlow’ dialogs • Libraries, samples and tools to make a great conversationalist • Chat emulator • Leverage related services available in Cognitive Services • Public directory of bots registered and approved with Bot Framework • Users can try your bot from the directory via the web chat control • Users can discover and add your bot to the channels on which it is configured
  2. Determine intent and detects entities Seamless integration with Speech Recognition

    Learns over time Use pre-built, world class models from Bing and Cortana Models work across devices Intent: TextToSpeech Content: headlines Read me the headlines Play yesterday’s Daily Show Intent: PauseDevice DateTime.duration: 5 Minutes Pause for 5 minutes Intent: PlayEpisode Content: Daily Show DateTime.date: T-1 Day
  3. Your bot will interact with LUIS by routing queries to

    LUIS API for intent and entity matching.
  4. Emotion Speaker Recognition Speech Custom Recognition Computer Vision Face Video

    microsoft.com/cognitive Linguistic Analysis Language Understanding Bing Spell Check Entity Linking Knowledge Exploration Academic Knowledge Bing Image Search Bing Video Search Bing Web Search WebLM Text Analytics Recommendations Bing Autosuggest Bing News Search Translator https://www.microsoft.com/cognitive-services/
  5. Name Description Example ContentType The contentType of the ContentUrl property

    image/png ContentUrl A link to content of type ContentType http://somedomain.com/cat.jpg Content An embedded object of type contentType If contentType = "application/vnd.microsoft.hero" then Content would be a JSON object for the HeroCard
  6. Property Description From Sender of the activity Recipient Recipient of

    the activity Conversation Conversation the message was part of Property Description Examples ChannelId The channel for the activity skype ServiceUrl The url to use for sending activities back http://skype.botframework.com
  7. ActivityType Description Message a simple communication between a user <->

    bot conversationUpdate your bot was added to a conversation or other conversation metadata changed contactRelationUpdate The bot was added to or removed from a user's contact list typing The user or bot on the other end of the conversation is typing ping an activity sent to test the security of a bot. deleteUserData A user has requested for the bot to delete any profile / user data
  8. Property Description Example Text A text payload in markdown syntax

    which will be rendered as appropriate on each channel Hello, how are you? Locale The locale of the sender (if known) en TextFormat Value Description Notes plain The text should be treated as raw text and no formatting applied at all markdown The text should be treated as markdown formatting and rendered on the channel as appropriate default xml The text is simple XML markup (subset of HTML) Skype Only
  9. Properties Description MembersAdded array of ChannelAccount[] for the added accounts

    MembersRemove d array of ChannelAccount[] for the removed accounts Action values Description add if the user in the From property added the bot to their contacts remove if the user in the From property removed the bot from their contacts