Making of the Ignite Bot

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Preface Demo A Quick Thank You How Did We Do It?
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Nick Scott | Dynamics CRM Consultant with BKD Technologies.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
announcing Dev Manager Do I understand what we’ve built? Developer Can I bet on using this shared component? Testers What’s changed since I last.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Introduction to ASP.NET Core
The Zen of Package Management
Conversation As a Platform - Part 1
Microsoft Virtual Academy
Microsoft Build /16/2018 2:05 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Build smarter bots and devices by connecting to the Microsoft Graph
Возможности Excel 2010, о которых следует знать
Build Bot using PowerApps
Title of Presentation 11/22/2018 3:34 PM
Title of Presentation 12/2/2018 3:48 PM
OPEN DATA FOR THE OPEN WEB
Microsoft Virtual Academy
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Build /22/2019 5:32 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
What is Visual Studio Code?
Deep Dive into Azure API Apps and Logic Apps
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
UI test automation of MVC apps with Microsoft Edge WebDriver
SharePoint 2013 Authentication with Azure – Part 1
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
(c) 2011 Microsoft. All rights reserved.
Шитманов Дархан Қаражанұлы Тарих пәнінің
Chalk Talk: Reading and publishing
Diagnostics and troubleshooting in Azure App Service Support Center
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
Microsoft Virtual Academy
Using Smart Unit Tests to find bugs earlier in the development cycle
7/5/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Microsoft Virtual Academy
Securing ASP.NET in an Azure Environment
Title of Presentation 7/24/2019 8:53 PM
Build /27/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Virtual Academy
Microsoft Virtual Academy
WCL425 App Compat for Nerds Chris Jackson.
Presentation transcript:

Making of the Ignite Bot Microsoft Ignite 2016 2/12/2018 12:31 PM Making of the Ignite Bot CLD332 Jordan Knight Senior Technical Evangelist Tim Hill Senior Consultant – Modern Apps © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Why a bot? Bot Framework Understanding Natural Language 2/12/2018 12:31 PM Agenda Why a bot? Bot Framework Understanding Natural Language Handling FAQs Fall through Language Translation Telemetry Lessons Learnt © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Why a bot? A bot is a user interface Microsoft Ignite 2016 2/12/2018 12:31 PM Why a bot? A bot is a user interface Figure out what benefit a conversational interface is It should be more than just a search engine People know how to use a search engine, and are probably more used to using one Bots can do more: perform actions, understand natural language, recognise entities etc. What problem are you trying to solve? Help me find a session Manage my session schedule (add, remove sessions) General event Q&A Chit-chat https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Using the bot Microsoft Ignite 2016 2/12/2018 12:31 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Bot Basics Built with Web API and C# Microsoft Ignite 2016 2/12/2018 12:31 PM Bot Basics Built with Web API and C# Can manually intercept simple actions Helper classes make it easier Head over to https://dev.botframework.com/ for Bot emulator and Bot Builder SDK https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Luis.ai Microsoft Ignite 2016 2/12/2018 12:31 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Microsoft Ignite 2016 2/12/2018 12:31 PM LUIS Can get an account free, need a Microsoft Account and Azure account for subscription key Gets better over time, especially with real data Intents usually map back to fairly distinct use cases https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Integrating LUIS Microsoft Ignite 2016 2/12/2018 12:31 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Integrating LUIS Override LuisDialog base class and add intents Microsoft Ignite 2016 2/12/2018 12:31 PM Integrating LUIS Override LuisDialog base class and add intents Can always call LUIS manually as a web service Decorate methods with LuisIntentAttribute and class with LuisModelAttribute Work with the IDialogContext serializable object https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

No Intent Fall-through logic: Microsoft Ignite 2016 2/12/2018 12:31 PM No Intent Fall-through logic: LUIS (powerful, targeted intents, with extra smarts) QnA Maker (simple, scalable) Azure Search (catch-all, best guess) https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo QnA Maker Microsoft Ignite 2016 2/12/2018 12:31 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

QnA Maker Great for large numbers of questions Microsoft Ignite 2016 2/12/2018 12:31 PM QnA Maker Great for large numbers of questions Easy to update on the fly Uses ML to improve over time https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Azure Search Simple indexer attached to a web job Microsoft Ignite 2016 2/12/2018 12:31 PM Azure Search Simple indexer attached to a web job Hook up to Event Management API Powerful Lucene query syntax Created a simple all search to catch fall-through queries “Office 365” Fuzzy Search good for presenters: Gorden~ Night~ Gorrdn~0.2 Naght~0.2 Jorden~0.9 Knight~0.9 https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Translation Microsoft Ignite 2016 2/12/2018 12:31 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Translation Build the bot in your language Microsoft Ignite 2016 2/12/2018 12:31 PM Translation Build the bot in your language Bing Translator will translate automatically https://github.com/MSFTAuDX/BotTranslator https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Translation Build the bot in your language Microsoft Ignite 2016 2/12/2018 12:31 PM Translation Build the bot in your language Bing Translator will translate automatically https://github.com/MSFTAuDX/BotTranslator https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Other Pieces App Insights Publishing Microsoft Ignite 2016 2/12/2018 12:31 PM Other Pieces App Insights Publishing https://github.com/jakkaj/SimpleBot © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Lessons Learnt Order of Logic Deployment 2/12/2018 12:31 PM Lessons Learnt Order of Logic LUIS  QnaMaker  Search : works well in most cases For short queries, might have been better to go straight to search Sometimes had to train LUIS, QnaMaker to not answer a question Deployment Train LUIS in dev, publish App JSON file to prod Allows for better version control Think about overlapping intents Ideally, LUIS works best with distinct intents This makes it easier for a human trainer as well © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Lessons Learnt (cont) QnaMaker 2/12/2018 12:31 PM Lessons Learnt (cont) QnaMaker Avoid Open-ended answers. Repeat the question if needed. © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Lessons Learnt (cont.) Bing Spellcheck API 2/12/2018 12:31 PM Lessons Learnt (cont.) Bing Spellcheck API Add-on to LUIS. Nice to have in most cases Doesn’t work well with session codes Publish the bot well beforehand We didn’t want it discoverable before the keynote, but unpublished bots are user-limited Translation https://github.com/jakkaj/SimpleBot © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Continue your Ignite learning path 2/12/2018 12:31 PM Continue your Ignite learning path Visit Channel 9 to access a wide range of Microsoft training and event recordings https://channel9.msdn.com/ Head to the TechNet Eval Centre to download trials of the latest Microsoft products http://Microsoft.com/en-us/evalcenter/ Visit Microsoft Virtual Academy for free online training visit https://www.microsoftvirtualacademy.com © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Thank you Chat with me in the Speaker Lounge 2/12/2018 12:31 PM Thank you Chat with me in the Speaker Lounge © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.