Bots (or conversation agents) are rapidly becoming an integral part of your users’ digital experience – they are as vital a way for users to interact with a service or application as is a web site or a mobile experience. Developers writing bots all face the same problems: bots require basic I/O; they must have language and dialog skills; and they must connect to users – preferably in any conversation experience and language the user chooses. In this session, you will learn how to build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Facebook, e-mail and other popular services. We will explore the Microsoft Bot Framework, which provides just what you need to build and connect intelligent bots that interact naturally wherever your users are talking. Through live demos, we’ll cover the Bot Connector in the cloud, the open source Bot Build SDK with ASP.NET WebAPI & C# (Node.js is also supported) and we’ll also explore how to handle natural language input from the user with the Language Understanding Intelligent Service (LUIS) from Microsoft Cognitive Services. Every business needs bots to provide a more personal experience to its users and customers. Come learn how you can build your own bots in just a few hours.
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
Build Bots with ASP.NET Web API & LUIS
1. Nick Landry
Senior Technical Evangelist – Microsoft
activenick@microsoft.com
Blog: AgeofMobility.com
@ActiveNick | github.com/ActiveNick
Bots are the New Apps:
Building Bots with ASP.NET Web API
& Language Understanding
6. { Your Code }
REST Endpoint
Direct Line Protocol
Conversational and
Business Logic
Canvas Aware Context
Sensitive
SDK
Bot Builder SDK
Platform Platform Services
HTTP
REST Endpoint
AI
Intelligent Tools
7. Goals
• Start Simple. Add Complexity. No dead-ends.
• Bot adapts to the user, based on context
• Composable and intelligent controls to manage complexity
Bot Controls
LUIS
Query over database via
Azure Search
Form
Filling
QnA
C#
Customer’s
Business Logic
& DataBot Connector
Direct Line
What?
• Tools for building REST Web Sites
• Services to enrich
• Mechanisms for receive events
• Data to debug and analyze
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
9. O N E B O T
M U L T I P L E C A N V A S E S
Custom Skills
Memory / Profile
Speech
Business Bots
Bot Directory
Bots in Bing Search
LOB Bots
IT Managed
Integrated Auth
10. Demo: Let’s build a bot!
Get started at https://www.botframework.com
13. (*) Recognizers are open-sourced.
More New Features
L A N G U A G E U N D E R S T A N D I N G
Top Requested Features
Production Staging and Versioning
More Languages (Dutch, Korean, dialects)
Increased Intent and Entity Limits
25 Customizable Prebuilt Domains
Lists
Improved Recognizers(*)
Semantic Dictionaries
Spell Checking
14. Predefined packages
Bootstrap model creation
Customizable!
Pre-Built Domains
Sports
Weather
Stock
Contacts
Calendar
Restaurants
Examples of Pre-Built Domains
L A N G U A G E U N D E R S T A N D I N G
Entertainment
Fitness
Home Automation
Music
Translation
Movie Tickets
15. Adaptive Cards
O P E N F R A M E W O R K
M U L T I P L E C A N V A S E S
Notification Microsoft Teams Skype Android iOS
17. Microsoft Seller Center
Stripe is currently supported
Visit Microsoft Seller Center
Obtain MerchantID
Start building
Works across most major platforms
Fast and simple payment experience
Bring commerce capabilities to your Bot
Read the integration guide for the Bot Framework.
18. SPEECH IN PROTOCOLS
DirectLine Support
WebChat Control
Cortana
SPEECH IN SDKS SPEECH IN LUIS
SSML
Speech Friendly Prompts
Conversation Management
Modeled Conversations
Common Model (Cortana,
Bing Speech, Custom
Speech Recognition)
D E E P I N T E G R A T I O N
A C R O S S T H E B O T F R A M E W O R K
19. H O L I S T I C B O T B U I L D I N G
Fully Azure Integrated
Conversational vs Business Logic
Richly Tooled
Design. Code. Deploy. Manage. Analyze.
“One Stop Shop for building Bots”
Data stays in a user’s subscription
Improved Perf via colocation
• Bot + Functions + LUIS Runtime
SDK Unification
Componentization and Reuse
Highlights
20. Bot Builder
Protocols &
Services &
Channels
Bot
Intelligence
Azure Bot
Service v2
Speech
Support
Ecosystem Integrations
(Flow, PowerApps, ++)
Bot Brain
Bot Controls++
GA
GA
GA
GA
Analytics++
Regions++,
Channels++
SDK V.Next
Localization
Adaptive Cards
Bot
Federation
Compliance
May Aug Nov
Regions++, Languages++, Domains++ ML Dialogs
Pattern
Support
Faster
Training
Multi-
Developer
Prebuilt
Domains
Speech
Services++
Public
Preview
Private
Preview
22. Thank You!
Slides are on Slideshare. Demos are on GitHub.
Contact me and let me know what you build, I will be happy to help promote your bots.
Blog: AgeofMobility.com
Twitter: @ActiveNick
Email: activenick@microsoft.com
Apps: www.bigbaldapps.com
LinkedIn: linkedin.com/in/activenick
GitHub: github.com/ActiveNick
Slideshare: slideshare.net/ActiveNick