SlideShare a Scribd company logo
Help ET phone home
Discover how to build bots with Microsoft Bot Framework 4
• Introduction
• Having a chat with a bot
• Enhancing your bot’s skills
• Summary
Agenda
Technology advocate
willem.meints@infosupport.com
Willem Meints
@willem_meints
Introduction
What is Microsoft Bot Framework?
Creating a bot
Having a chat with a bot
• Different levels of state
– User level
– Conversation level
• Different kinds of storage for state
– In-memory
– In Azure (SQL server or Cosmos DB)
Keeping track of state
Building dialogs
• LUIS: Language understanding service
– A machine learning model to detect intents
– Can also detect important pieces of data
• Entities in LUIS
– You can use regular machine learning
– But often you’ll find yourself using patterns and predefined values
Using LUIS to detect intents
• You can manage your models through the portal
– Easier for first attempts at using LUIS
– Versioning is not so nice though
• Alternatively, use LUIS Markdown files
– Write text files with intents and samples, share them with the business
– Versioning goes through GIT
– Deployment can be done using commandline utilities in the build
You’re doing DevOps and want to use LUIS
Enhancing your bot’s
skills
• Your users don’t always want help from your bot
– Offer an escape route towards a real person
– Use a combination of intents/sentiment to provide this escape
• Another good tip: Don’t think your user doesn’t know it’s a bot
– Make it clear to the user what you can or can’t do
– Make it really obvious how the user can get out
Well, that escalated quickly?!
• We’ve all done it, break a bot by asking weird questions
– Handle the None intent in your bot through QnA maker
• Use QnA maker as an add-on
– The default practice from Microsoft is really evil!
– You should control when QnA maker answers
What about small talk and puns?
• Talking trash to a bot is normal
– You can use the bot personality datasets in QnA Maker to implement this
– Or build it yourself, but that’s quite hard to do
What about small talk and puns?
• We’ve seen websites that have many bots
– Each bot can handle a small area of what the company offers
– Even if you have one bot for everything, make sure it knows where it is
• Bot framework offers a back-channel
– You can send custom events through the bot connector
– Really powerful especially if you build a custom user interface!
Teach the bot about its surroundings
Summary
• More flexible, you can choose to use any framework you want
– I’ve used Akka.NET for dialogs and it was great!
– I’ve seen people build bots without ASP.NET Core
Bot framework 4 take-aways
• Great tools for conversations
– The default samples don’t tell you how to extend beyond the basics sadly
– Easy to add escapes, custom flows and intelligent scoring
Bot framework 4 take-aways
• Delight your user, but make sure he/she knows it’s a bot
– Use the personality datasets to add some small talk
– Provide intelligent escapes
– Tell the user it’s a bot!
Bot framework 4 take-aways
• Think about integration with the frontend
– Use the back-channel to teach the bot about its surroundings
– Use custom events to get a richer interaction
Bot framework 4 take-aways
Thanks, Get the code:
https://github.com/wmeints/betty
@willem_meints
willem.meints@infosupport.com
Our sponsors

More Related Content

PPTX
Bot press
PDF
HTML Prototyping - IxDA Presentation
PDF
Introduction to React Native - Marcin Mazurek (09.06.2017)
PDF
Bot. You said bot? Let build bot then! - Laurent Ellerbach
PPTX
#ImpactSalesforceSaturday: Einstein bot basic to advanced
PDF
Lecture1
PPTX
Build Authentication in Conversational AI
PPTX
Blazor - .NET in the Browser!
Bot press
HTML Prototyping - IxDA Presentation
Introduction to React Native - Marcin Mazurek (09.06.2017)
Bot. You said bot? Let build bot then! - Laurent Ellerbach
#ImpactSalesforceSaturday: Einstein bot basic to advanced
Lecture1
Build Authentication in Conversational AI
Blazor - .NET in the Browser!

What's hot (7)

PDF
Ansible for Automation
PPT
DDAY2014 - Drupal 8 e il mercato Enterprise: questo matrimonio s'ha da fare?
PPTX
Hubot and Playbook - Oct 2016 ChatbotsAU meetup
PDF
Bridging the gap between UX and development - A Storybook by Marko Letic at F...
PDF
Tips and Tricks lightning talk @ rego.act
ODP
Selenium at Mozilla: An Essential Element to our Success
PDF
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 09)
Ansible for Automation
DDAY2014 - Drupal 8 e il mercato Enterprise: questo matrimonio s'ha da fare?
Hubot and Playbook - Oct 2016 ChatbotsAU meetup
Bridging the gap between UX and development - A Storybook by Marko Letic at F...
Tips and Tricks lightning talk @ rego.act
Selenium at Mozilla: An Essential Element to our Success
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 09)
Ad

Similar to Help et phone home, building bots with Microsoft Bot Framework 4. (20)

PPTX
Introduction to Microsoft Bot Framework
PPT
Building a bot with an intent
PPTX
Build a mobile chatbot with Xamarin
PPTX
Introduction to BOT Framework- Global Azure Bootcamp 2017
PPTX
Creating Intelligent Chatbots
PDF
Clever data: building a chatbot from your database
PDF
Bot design AIsatPN 2018
PPTX
Clever data building a chatbot from your database
PPTX
My slides from the Microsoft Inovation Center Brussels at DigitYser
PDF
3 different flavours of building chatbots with Microsoft
PDF
Having fun with Microsoft Bot Framework and Azure Cognitive Services
PPTX
Intro to Chatbots using Microsoft bot framework and Azure cognitive services
PPTX
Tokyo azure meetup #8 - Introduction to the microsoft bot framework
PPTX
Mat Velloso - Bots in the real world
PPTX
An introduction to Microsoft Bot Framework
PPTX
Build an Intelligent Bot (Node.js)
PPTX
Conversational UI Bot Framework
PPTX
Building intelligentchatbots
PPTX
Dynamics 365 Saturday Amsterdam 02/2018 - Dynamics 365 and chatbots
PPTX
Microsoft bot framework
Introduction to Microsoft Bot Framework
Building a bot with an intent
Build a mobile chatbot with Xamarin
Introduction to BOT Framework- Global Azure Bootcamp 2017
Creating Intelligent Chatbots
Clever data: building a chatbot from your database
Bot design AIsatPN 2018
Clever data building a chatbot from your database
My slides from the Microsoft Inovation Center Brussels at DigitYser
3 different flavours of building chatbots with Microsoft
Having fun with Microsoft Bot Framework and Azure Cognitive Services
Intro to Chatbots using Microsoft bot framework and Azure cognitive services
Tokyo azure meetup #8 - Introduction to the microsoft bot framework
Mat Velloso - Bots in the real world
An introduction to Microsoft Bot Framework
Build an Intelligent Bot (Node.js)
Conversational UI Bot Framework
Building intelligentchatbots
Dynamics 365 Saturday Amsterdam 02/2018 - Dynamics 365 and chatbots
Microsoft bot framework
Ad

More from Willem Meints (11)

PPTX
Bestuur je 3D printer met blazor
PPTX
Big data streaming with Apache Spark on Azure
PPTX
Agile software ontwikkeling met continuous delivery
PPTX
Acceptance test driven development
PPTX
LESS is more
PPTX
Build better mobile apps and become a better person
PPTX
Mono for android
PPTX
Prototyping windows store apps
PPTX
Using java interop in your xamarin.android apps
PPTX
Search enabled applications with lucene.net
PPTX
The metro design language for app developers
Bestuur je 3D printer met blazor
Big data streaming with Apache Spark on Azure
Agile software ontwikkeling met continuous delivery
Acceptance test driven development
LESS is more
Build better mobile apps and become a better person
Mono for android
Prototyping windows store apps
Using java interop in your xamarin.android apps
Search enabled applications with lucene.net
The metro design language for app developers

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Essential Infomation Tech presentation.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Introduction to Artificial Intelligence
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
L1 - Introduction to python Backend.pptx
PDF
AI in Product Development-omnex systems
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
ai tools demonstartion for schools and inter college
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Transform Your Business with a Software ERP System
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Design an Analysis of Algorithms I-SECS-1021-03
How to Choose the Right IT Partner for Your Business in Malaysia
Essential Infomation Tech presentation.pptx
Understanding Forklifts - TECH EHS Solution
Introduction to Artificial Intelligence
Operating system designcfffgfgggggggvggggggggg
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Design an Analysis of Algorithms II-SECS-1021-03
Which alternative to Crystal Reports is best for small or large businesses.pdf
Nekopoi APK 2025 free lastest update
Adobe Illustrator 28.6 Crack My Vision of Vector Design
L1 - Introduction to python Backend.pptx
AI in Product Development-omnex systems
How to Migrate SBCGlobal Email to Yahoo Easily
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
ai tools demonstartion for schools and inter college
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises

Help et phone home, building bots with Microsoft Bot Framework 4.

  • 1. Help ET phone home Discover how to build bots with Microsoft Bot Framework 4
  • 2. • Introduction • Having a chat with a bot • Enhancing your bot’s skills • Summary Agenda
  • 5. What is Microsoft Bot Framework?
  • 7. Having a chat with a bot
  • 8. • Different levels of state – User level – Conversation level • Different kinds of storage for state – In-memory – In Azure (SQL server or Cosmos DB) Keeping track of state
  • 10. • LUIS: Language understanding service – A machine learning model to detect intents – Can also detect important pieces of data • Entities in LUIS – You can use regular machine learning – But often you’ll find yourself using patterns and predefined values Using LUIS to detect intents
  • 11. • You can manage your models through the portal – Easier for first attempts at using LUIS – Versioning is not so nice though • Alternatively, use LUIS Markdown files – Write text files with intents and samples, share them with the business – Versioning goes through GIT – Deployment can be done using commandline utilities in the build You’re doing DevOps and want to use LUIS
  • 13. • Your users don’t always want help from your bot – Offer an escape route towards a real person – Use a combination of intents/sentiment to provide this escape • Another good tip: Don’t think your user doesn’t know it’s a bot – Make it clear to the user what you can or can’t do – Make it really obvious how the user can get out Well, that escalated quickly?!
  • 14. • We’ve all done it, break a bot by asking weird questions – Handle the None intent in your bot through QnA maker • Use QnA maker as an add-on – The default practice from Microsoft is really evil! – You should control when QnA maker answers What about small talk and puns?
  • 15. • Talking trash to a bot is normal – You can use the bot personality datasets in QnA Maker to implement this – Or build it yourself, but that’s quite hard to do What about small talk and puns?
  • 16. • We’ve seen websites that have many bots – Each bot can handle a small area of what the company offers – Even if you have one bot for everything, make sure it knows where it is • Bot framework offers a back-channel – You can send custom events through the bot connector – Really powerful especially if you build a custom user interface! Teach the bot about its surroundings
  • 18. • More flexible, you can choose to use any framework you want – I’ve used Akka.NET for dialogs and it was great! – I’ve seen people build bots without ASP.NET Core Bot framework 4 take-aways
  • 19. • Great tools for conversations – The default samples don’t tell you how to extend beyond the basics sadly – Easy to add escapes, custom flows and intelligent scoring Bot framework 4 take-aways
  • 20. • Delight your user, but make sure he/she knows it’s a bot – Use the personality datasets to add some small talk – Provide intelligent escapes – Tell the user it’s a bot! Bot framework 4 take-aways
  • 21. • Think about integration with the frontend – Use the back-channel to teach the bot about its surroundings – Use custom events to get a richer interaction Bot framework 4 take-aways
  • 22. Thanks, Get the code: https://github.com/wmeints/betty @willem_meints willem.meints@infosupport.com