Let’s talk about Conversation Design

Slides:



Advertisements
Similar presentations
Redmond Protocols Plugfest 2016 Tristan Davis Office Developer Platform Overview Principal Group Program Manager.
Advertisements

11/8/ :31 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
11/28/2017 7:08 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Bots & DevOps Donovan 12/24/2017 2:32 PM
Microsoft Ignite /4/2018 1:44 PM BRK3105
Making of the Ignite Bot
2/21/ :54 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/14/ :03 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
What’s new and what’s coming for Actionable Messages in Outlook
4/18/2018 3:49 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/23/2018 7:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
5/9/2018 9:30 AM BRK2215 Deliver better experiences with SharePoint Patterns and Practices Community Solutions Mike Ammerlaan Product Marketing Manager,
Make your app a native part of Office with Add-ins
Office Add-ins: Make your solution a native part of Office
5/12/2018 3:54 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Leverage the O365 Task Ecosystem with Microsoft To-Do and Planner
Let’s talk about Conversation Design
5/21/2018 9:40 PM BRK3021 Learn about modern infrastructure roles in RDS: Next generation Windows desktop & app virtualization Clark Nicholson - Principal.
5/29/2018 1:32 PM Office UI Fabric behind the scenes: Open source Design & Engineering in Office Peter Jahn Senior UX Engineering Manager OneDrive & SharePoint.
Building Custom Application With Office Add-Ins for OneNote
Microsoft Power BI with Azure Services
Developing Hybrid Apps on Microsoft Azure Stack
Microsoft Build /16/2018 2:05 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft /17/2018 4:24 AM BRK4012 Dive deep on Skype Web SDK & Skype for Business App SDK - Build apps across Web, IOS & Android Srividhya Chandrasekaran Amit.
6/17/ :27 AM BRK3341 Unlock extensibility by connecting your service to PowerApps and Microsoft Flow Theresa (Tessa) Palmer–Sr. Program Manager Sunay.
Intelligent Agent Solution
Primal and Microsoft Azure Deliver Personalized Content, Intelligence, and Analytics That Match Your Content to the Interests of Your Audience MICROSOFT.
Intelligent search for the modern workplace with Bing
Outlook Message Cards Ignite 2016 deck draft Shivakumar Seetharaman
Introduction to Azure Bot Framework
Session code.
Microsoft Connect /2/ :38 AM
Build smarter bots and devices by connecting to the Microsoft Graph
Get Started with Common Data Model (CDM) and PowerApps
Extensible Platform Microsoft Dynamics 365
Changing how people interact with computers
Kent Weare ‎Principal Program Manager – Microsoft Flow
Bot framework Overview
Project Rome: Activity API & Pick Up Where I Left Off
Add intelligence to Dynamics AX with Cortana Intelligence suite
The Bot Framework and the Microsoft Graph
Build Bot using PowerApps
Microsoft Bot Framework: changing how we communicate with users
OpenWorld 2018 How to Create Chatbots with OMCe
Microsoft SharePoint Server 2013
Chatbots for Dummies José 10/11/2018 Immersion
Continuous Automated Chatbot Testing
11/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
José Mendes Chatbots for Dummies.
Microsoft Virtual Academy
Microsoft Ignite /20/2018 2:21 PM
11/23/2018 8:30 AM BRK3037 BRK3037: Dive deep on building apps and services with the Office 365 Communications Platform David Newman Senior Program Manager.
Hosted Web Apps with Windows App Studio
11/27/2018 6:59 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Core Platform The base of EmpFinesse™ Suite.
Extending Microsoft Teams
1/2/2019 9:19 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Chatbots for Dummies José 12/05/2018 Immersion
Cortana Skills Windows Developer Day, Fall Creators Update
Serverless Architecture in the Cloud
Technical Capabilities
2/24/2019 6:15 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Bot Framework
4/20/2019 8:09 PM BRK Bots and brains: The Microsoft Bot Framework and Cognitive Services, better together Mark Schramm Microsoft MVP, Windows Development.
A STORY ON CONVERSATIONAL CHATBOT SUBHAJIT SENGUPTA & SHARIQ SHAIKH
Artificial intelligence for everyone
Bots, so you don't have to be always available to help your customers
Exploring Cognitive Services
Presentation transcript:

Let’s talk about Conversation Design 7/16/2018 12:50 PM BRK3301 Let’s talk about Conversation Design Vishwac Sena Kannan Senior Program Manager vkannan@microsoft.com © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is a Bot? TYPE TAP TALK Channels Connected Services Cortana Facebook Messenger Connected Services Custom – Direct Line Skype Intelligent tools Bing

Conversational and Business Logic What is a Bot? Platform Platform services HTTP REST Endpoint AI Intelligent tools { Your Code } SDK Bot builder SDK REST Endpoint Direct Line Protocol Conversational and Business Logic Canvas Aware Context Sensitive

What is the Bot Framework? Channels – 1’st and 3’rd party Hosting services – Azure Bot Service, Conversation Designer Tools – Emulators, Webchat, Client controls, SDK’s, Analytics Customer’s business logic and data Bot Connector Why? Implements standard protocols Modeling conversations is hard. Tools help! UI across multiple canvases is hard. Cards rock! Language understanding is hard Common and well understood patterns C# BOT BUILDER Third-Party Bot Controls LUIS Query over database via Azure Search Form filling Q&A Goals Start simple. Add complexity. No dead-ends Bot adapts to the user, based on context Composable and intelligent controls to manage complexity Skype Bing Web Chat LUIS Skype for Business Cortana Direct Line

7/16/2018 12:50 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What makes a bot great? Not how much AI it has 7/16/2018 12:50 PM What makes a bot great? Not how much AI it has Not how sophisticated the language model is Not whether it uses voice or not Not whether it uses Buttons/Cards © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7/16/2018 12:50 PM Great bots are like great apps; they appeal to users because they do whatever they're trying to do WELL © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Building conversational experiences 7/16/2018 12:50 PM Building conversational experiences Language understanding: Utterance → [domain X intent X slots] LU Dialogue: Conversational flow/ model between bot and user DIA Language generation: Spoken, display strings for the agent LG User Experience Cards on-screen or speech-out for given turn in a conversation UX Business logic Business rules that help direct conversational flow <> Speech Recognition Speech → Utterance SR Text to speech: Utterance → Speech TTS © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Cognitive services LU DIA LG UX <> SR TTS Cognitive Services 7/16/2018 12:50 PM Cognitive services LU DIA LG UX Business logic Business rules that help direct conversational flow <> Language understanding: Utterance → [domain X intent X slots] Dialogue: Conversational flow/ model between bot and user Language generation: Spoken, display strings for the agent User Experience Cards on-screen or speech-out for given turn in a conversation SR TTS Speech Recognition Speech → Utterance Text to speech: Utterance → Speech Cognitive Services Vision Speech Language Knowledge Search © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Ubiquitous conversations 7/16/2018 12:50 PM Ubiquitous conversations 1st and 3rd Party Channels Custom app or website Custom devices © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Designing for Bot’s Input/ Output 7/16/2018 12:50 PM Designing for Bot’s Input/ Output TALK TAP User TYPE Bot TYPE TALK CARD 1st and 3rd Party Channels Custom app or website Custom devices © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Type, Tap & Talk – where & why 7/16/2018 12:50 PM Type, Tap & Talk – where & why Great for communication apps User is already typing in these experiences Type Supplement conversational experiences in custom apps/ website On PC/ mobile form factors Users are accustomed to click/ tap experience Tap IoT/ speech-first device form factor and experience Assistant experiences like Cortana Talk © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo ContosoCafeOnTheWeb, different channels 7/16/2018 12:50 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Modelling conversations - Types of dialogue 7/16/2018 12:50 PM Modelling conversations - Types of dialogue Single turn conversation Modelled like simple question and answer pairs Typically there are no follow up questions from the user No bot-initiated questions either E.g. Q&A, Facts, Answers Requires collecting pieces of missing information required for task completion On-the-rails conversation. Multi-turn capable; but can be single-turn Can include business logic to direct conversational flow E.g. Ticket booking, form filling, Order stuff Structured directed flows Context carry-over Open ended conversation in a specific domain or intent Multi-turn capable Context (domain, intent, entities) carried forward across conversation E.g. Search refinement © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo ContosoCafeOnTheWeb 7/16/2018 12:50 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Qnamaker.ai One of the Microsoft Cognitive Services 7/16/2018 12:50 PM Qnamaker.ai One of the Microsoft Cognitive Services Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents or editorial content in minutes. Offers a no-code experience to build single-turn conversations Supports a variety of content sources you could start from – Existing FAQ pages Import question and answer pairs from .tsv, .pdf, .doc, .docx, .xlsx Friendly user interface to enter question and answer pairs in the knowledge base table © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7/16/2018 12:50 PM Demo Qnamaker.ai © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conversational experiences 7/16/2018 12:50 PM Conversational experiences Easier and more natural Traversals, less steps (e.g. dinner reservation) Devices with limited or no display surface/ typing is not an option or is cumbersome (e.g. Xbox, Invoke) Multitasking (e.g. control music while writing a doc) The Good Setting up language understanding to allow for conversational tangents, corrections, forward- slot filling Deciding the right conversation model for your scenario Environment (e.g. speech in a noisy environment) Adapting to context – device as well as user The Challenge © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conversation Designer 7/16/2018 12:50 PM Conversation Designer © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conversation Designer 7/16/2018 12:50 PM Conversation Designer One stop shop development experience Seamlessly brings together several aspects of bot development—LU, LG, UX, Dialogue Visual authoring experience to build conversational bots Clear separation between conversation logic vs. business logic Conversation runtime orchestrate bot conversations What are we building? https://microsoft.sharepoint.com/teams/BrandCentral/Pages/Bundles/MSC16_slalom_056.aspx © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conversation Designer 7/16/2018 12:50 PM Conversation Designer Building bots is a multi-role collaborative effort Learnings from Bot Framework community as well as first-party Bot development (Cortana) Visual tool to help author E2E Natural Language conversations that users can type, tap or talk to Modelling conversations in code behind can be challenging Why are we building it? https://microsoft.sharepoint.com/teams/BrandCentral/Pages/Bundles/MSC16_slalom_056.aspx © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conversation Designer Covers all aspects of bot development LUIS integration Script trigger Simple reply Script action Dialogue action Simple and conditional response template Speak vs. display Cards, designer and preview JavaScript code HTTP wrapper Azure Functions Language understanding: Utterance → [domain X intent X slots] LU Dialogue: Conversational flow between agent and user including logic that directs flow DIA Language generation: Spoken, display strings for the agent LG Cards on-screen or speech-out for given turn in a conversation UX Bot’s business logic/code behind <> © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Architecture overview Conversation Designer 7/16/2018 12:50 PM Architecture overview Conversation Designer LUIS.ai LU Author/train Bot connector Author Developer’s Azure subscription Website with bot assets + code Runtime deployed as website extension LUIS runtime deployed locally Bot.agent Bot.js Cards.json LU Bot activity Bot activity Bot app authored using Conversation Designer Save User © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Conversation Designer 7/16/2018 12:50 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

How do the pieces fit together 7/16/2018 12:50 PM How do the pieces fit together Authoring Bot hosting Start with Conversation Designer to prototype, design your conversations Implement business logic in Conversation Designer for E2E bot development Azure LU SDK Implement the conversational model using Azure Bot Service (Bot Builder SDK) LUIS.ai LU Implement the conversational model using Bot Builder SDK Custom cloud © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Summary and call to action 7/16/2018 12:50 PM Summary and call to action Conversational experiences are everywhere – Custom app/ website, custom devices & 1st and 3rd party channels Incorporate Microsoft cognitive service APIs for your next bot Design & build for Type, Tap, Talk Adapt conversations based on context – Tailor experiences based on device capabilities Follow & deeply understand the user so conversations are natural and effective Model your conversational flows effectively single turn, contextual carry over .vs. structured flow Pick the right tooling + hosting model Azure – Bot Builder SDK, Azure Bot Service Code, Conversation Designer Custom cloud – Bot Builder SDK Check out http://dev.botframework.com https://github.com/Microsoft/BotBuilder https://azure.microsoft.com/en-us/services/bot-service/ © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7/16/2018 12:50 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.