The document summarizes a presentation about building intelligent bots using the Microsoft Bot Framework. It discusses best practices for building bots, including using pre-trained AI services, popular open-source frameworks, and templates to accelerate development. It also describes the bot lifecycle including authoring, testing, and deployment tools provided in the Bot Framework.
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Building intelligent bots for your modern workplace
1. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Building intelligent bots for
your modern workplace:
Best Practices from the
trenches
Stephan Bisser| @stephanbisser
Thomas Goelles | @thomyg
2. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Thank you Sponsors #ThriveITconf
Silver
Evening event sponsor
Material
Media
4. ABOUT US
THOMAS GÖLLES
MICROSOFT MVP (O365)
SOLVION
https://thomy.tech
@thomyg
Head of Modern Workplace Solutions
Graz, Austria
STEPHAN BISSER
MICROSOFT MVP (AI)
SOLVION
https://bisser.io
@stephanbisser
Technical Lead
Graz, Austria
6. Conversational AI
Software as a service, SaaS solutions
To enable out-of-the-box conversational AI services for key solutions
Pre-trained AI, Cognitive Services
To add and customize language, speech, knowledge & vision
Managed bot service, Azure Bot Service
To accelerate building, management and deployment of conversational AI
Popular open source frameworks, Bot SDK on Github
To fully integrate and customize your solution with any AI technology
Solution accelerators and templates, PaaS
To accelerate conversational AI solutions
From the Intelligent Cloud to the Intelligent Edge
Customer Care
Bot Template
Virtual Assistant
Solution accelerator
Enterprise HR
Template
LanguageSpeech
…
DecisionVision Web search
Customer ServiceCortana, Teams Virtual Agent
BotKit SDK
Bot
Framework
Azure Bot Service
7. Bots 101
“a computer program designed to
have a conversation with a human
being, especially over the internet” *
• Solves the user’s needs in the
quickest/easiest way compared to
any other option...
• Introduce AI in a friendly way
* https://dictionary.cambridge.org/dictionary/english/chatbot
8.
9. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Bot X-Ray
{ Your Code }
REST Endpoint
10. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Bot Framework – Open Source Project
10+ Public Repos
SDK V4: C#, JavaScript, Python, Java
SDK V3 (C#, JavaScript)
CLI Tools
Emulator
WebChat Control
Documentation
BotBuilder-Samples (more than 60 samples…)
11. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Community Driven Bot Extensions
https://github.com/BotBuilderCommunity
• Extending the core Bot Framework SDKs
• Middleware, dialogs, helper
Gary Pretty (https://github.com/garypretty)
James Mann (https://github.com/jamesemann)
Arafat Tehsin (https://github.com/arafattehsin)
Michael Szul (https://github.com/szul)
Stephan Bisser (https://github.com/cloudguy-pro)
12. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Bot Framework V4
• GA - C# and Java Script
• C# support .NET Core
• Python and Java - still in preview
• Incorporates learnings from V3
• Open, Modular and extensible architecture
• Agile and customizable dialog system
• Share the same implementation across C#, Java Script, Java and Python
• Rich visual controls (cards, buttons, images, videos, adaptive cards)
• Seamless integration with Azure and Cognitive Services
• Support for OAuth
• Modern toolchain (streamline development and deployment)
• Open Source and rich ecosystem
13. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Now supporting 20+ Channels!
What is new
Amazon Alexa • Google Assistant
Direct Line Speech (preview) • WebChat Adapter
Direct Line for Vnets
Supported Channels
14. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Three main ways to build bots:
Start simply and grow in sophistication
Create a QnA Bot in minutes Develop more sophisticated bots Build your own branded virtual assistant
QnA Maker Microsoft Bot Framework Virtual Assistant
solution accelerator
15. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
The Lifecycle of your Project
Comprehensive framework for the lifecycle of your project
Author Dialogs
Design Cards
Visualize
Bot Builder SDK
Bot Framework
Composer
Cognitive Services
Getting Started
Templates
Emulator
Application Insights
Conversation Transcripts
DevOps Tools
Azure
BYO Web Host
WebChat
Teams
Cortana
Skype, FB
+
Custom (DirectLine)
Application Insights
LUIS
Suggestions
Plan Build Test Publish Connect Evaluate
16. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Bot Framework Emulator V4
• Open-source, cross-platform
application
• For Mac, Windows and Linux
• Test and debug conversational
application locally or in the cloud
• Inspect responses from bot’s
integrated services
(LUIS/QnAMaker)
• Transcript playback
17. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Templates and Solutions
Templates
• Basic
• Enterprise
Solutions
• Virtual Assistant
• Enterprise Assistant
• Hospitality Assistant
To help more businesses and customers succeed with great
conversational
experiences, we are creating a series of Templates to
greatly simplify getting
started and Solutions to help enable
complex new scenarios.
Bringing together all of the best practices and supporting
components we’ve
identified through building the first wave of Conversational
Experiences.
19. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Office Graph
Knowledge
Sources
Manuals
(PDF)
Data Sources
General
Knowledge
Points of
Interest
Mail
Automotive
Custom
Other
Bots
Skills
(Customizable)
APIs
Directory
Tasks
Calendar
3P Assistants
Bot Framework Skills
Skills include language models, dialogs, and cards that
can be reusable across bots.
Skill == Bot
• Dispatcher within your core Assistant
supports Interruption
• Skills contains a self-describing Skill Manifest
• Skills are open source, fully customizable
• Skill Template
• Skill CLI
• C# and Typescript support
20. 10TH ANNUAL CONFERENCE ABOUT MODERN IT TECHNOLOGIES
Modern Bot Architecture
• Modern chatbots within the Microsoft Bot Framework rely on SKILLS
• Those SKILLS are aligned to the Amazon Alexa approach of a plug & play solution where you can
add and remove skills as needed
Email
Skill
Skill
Skill
Skill
Skill
During the Conference closing there will be a short Presentation of Sponsors and the Prize Game.
Please do not leave too early, you might be a lucky winner.
First entry point is using QnA Maker to get started. You can create bots capable of handling Q&A and multi-turn QnA without writing code.
Add’ly you can deploy it to Teams using App Studio without any code.
Next, you’ll find customers need more than to retrieve a simple static answer. Sometimes they require more sophisticated scenarios like retrieving package information like they do for Jet.com and UPS. Sometimes you want to create a bot that can take action on your behalf or kick off a workflow, like a book a meeting with someone, or add a reminder for a task.
For this you can leverage the bot framework and azure bot service to build out bots capable of handling a variety of inquiries from a variety of stake holders. Cognitive services like Language Understanding help you account for variations in which the way a question could be asked. You might create a bot that can call the QnA bot you created as a skill.
Finally, some customers want to extend their brand via a virtual assistant. BMW for example is protective of their brand and their in-car experience. Why would they want to introduce Alexa, Google Assistant or Cortana if they can build their own assistant and have full control of their data, and the experience? We’ve taken learnings/best practices from prior implementations and put together a solution ARM template that allows you spin up the necessary services to enable a virtual assistant. Visit the Virtual Assistant github repository to get started today.
2 minutes
Skills include language models, dialogs, and cards that can be reusable across bots.
We provide Skill template to help you build re-usable skills as well as specific skill implementation - Examples include productivity (calendar, email and task productivity- powered by Microsoft Graph), industry (point of interest, and automotive), and custom.