SlideShare a Scribd company logo
Clever data: Building a
chatbot from your database
Luis Beltrán
April 27th, 2019
Luis Beltrán
• Microsoft MVP in Developer Technologies
• Researcher and PhD student at Tomás Bata University in Zlín,
Czech Republic.
• Professor at Tecnológico Nacional de México in Celaya, Mexico.
@darkicebeam
luis@luisbeltran.mx
Clever data building a chatbot from your database
• A bot performs an action:
• Typically, bots react/respond to messages (conversational bots).
• Bots might run a background task.
• A bot detects a user’s intent.
• A bot is able to combine millions of data from different sources.
• A bot is available 24/7/365
• Any platform, anywhere.
• A bot uses AI to improve the user experience and keeps human effort
to a minimum.
Clever data building a chatbot from your database
Handoff to Human
Every company deals with this:
Handoff to Human
First
triage/data
collection
Simple and
repetitive
solutions
If it is simple and repetitive, it can
be coded. Bots can accelerate it
Clever data building a chatbot from your database
Handoff to Human
Bot to human hand off: Complete or supervised
Thank you for providing all this information. I
have John with me now who will take from here
and help you out
Hello, this is John. I understand your computer
won’t power on. Let’s take a look at some
service options
I’ve tried these steps, my computer still won’t turn on
Sounds lovely, thank you
I suggest us to request a hardware service. We can have one
of our service engineers look at your computer
Note to operator: It sounds like the user will need hardware
replacement, what next step should I take?
Apologize to
user
Suggest
hardware
service
Let me type
What is the Bot Framework?
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
Cortana 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
Bot web service
Your bot code
Entity
Extraction
Speech
Vision/Face
Natural
Language
Translation
+ Microsoft Cognitive Services
Search
Emotion
Knowledge
API
…
Message input <> output
State Management
Bot Connector Service
Conversation Canvas/Channels
……
…
Other services, APIs,
Databases, Azure Machine
Learning, Azure Search,
etc…
Bot Builder SDK
Web Chat
Direct Line…
Email
Facebook
GroupMe
Kik
Skype
Slack
Telegram
Twilio (SMS)
An x-ray of a typical bot
Bot Builder SDK
Your bot code goes here
Bot Connector messages
Your bot
{
"type": "Message",
"id": "68YrxgtB53Y",
"conversationId": "DphPaFQrDuZDKyCez4AFGcT4vy5aQDje1lLGIjB8v18MFtb",
"language": "en",
"text": "You can say "/order" to order!",
"attachments": [ ],
"from": {
"name": "+12065551212",
"channelId": "sms",
"address": "+12065551212",
"id": "Ro52hKN287",
"isBot": false
},
"channelData": { SMS data here },
"botUserData": { your data here },
...
}
Bot
Connector
Bot Builder
SDK
Template
Your Bot LUIS
Publish to
Azure
Connect to
users
Add dialog
smarts
Bot Builder SDK Template
Clever data building a chatbot from your database
Language Understanding Intelligent Service (LUIS)
“I want to find
news about flight
delays”
{
“entities”: [
{
“entity”: “flight delays”,
“type”: “Topic”
}
],
“intents”: [
{
“intent”: “FindNews”,
“score”: 0.99853384
},
{
“intent”: “None”,
“score”: 0.07289317
},
{
“intent”: “ReadNews”,
“score”: 0.0167122427
},
{
“intent”: “ShareNews”,
“score”: 1.0919299E-06
}
]
}
Publish to Azure
Connect to Users
Add Dialog Smarts with Adaptive Cards
Notification Microsoft Teams Skype Android iOS
https://github.com/icebeam7
Bot scenarios
• Q & A
• Helpdesk
• Product selection
• Task automation
• Monitoring
• Expert Systems
Call to action
• Microsoft Bot Framework https://dev.botframework.com/
• Microsoft Cognitive Services https://microsoft.com/cognitive
• Bot Builder http://github.com/Microsoft/botbuilder
• LUIS https://luis.ai
• Docs https://aka.ms/azure/bots/overview/docs
¡Thank you for
your attention!
Luis Beltrán
Tomás Bata University in Zlín
Tecnológico Nacional de México en Celaya
luis@luisbeltran.mx luisbeltran.mx @darkicebeam
GitHub:
https://github.com/icebeam7
LinkedIn:
https://linkedin.com/in/luisantoniobeltran
SlideShare:
https://slideshare.net/icebeam
YouTube:
https://youtube.com/user/darkicebeam
About Me:
https://about.me/luis-beltran

More Related Content

PPTX
Build a mobile chatbot with Xamarin
PPTX
Chatbot Abstract
PDF
Chat bot technologies overview
PDF
To Make Your Chatbot Smart, You Need to Feed It Right: How to Write for Chatb...
PPTX
Azure Chat Bot application
PPTX
Bots in the Enterprise
PPTX
Bots presentation
PDF
Chatbots. Old Topic - New Era
Build a mobile chatbot with Xamarin
Chatbot Abstract
Chat bot technologies overview
To Make Your Chatbot Smart, You Need to Feed It Right: How to Write for Chatb...
Azure Chat Bot application
Bots in the Enterprise
Bots presentation
Chatbots. Old Topic - New Era

What's hot (12)

PDF
How do Chatbots Work? A Guide to Chatbot Architecture
PDF
Student information chatbot final report
PPTX
Spam Bot & internet Bots
PDF
Scalable state of-the-art conversational AI
PDF
PPTX
Whats a Chat bot
PPTX
AI Machine vs Human
PDF
Introduction to chat bot
PDF
Chatbot and AI Design Principles
PDF
Deprecating the state machine: building conversational AI with the Rasa stack
PDF
How AI can help you build better customer relationships?
PPTX
Chatbot
How do Chatbots Work? A Guide to Chatbot Architecture
Student information chatbot final report
Spam Bot & internet Bots
Scalable state of-the-art conversational AI
Whats a Chat bot
AI Machine vs Human
Introduction to chat bot
Chatbot and AI Design Principles
Deprecating the state machine: building conversational AI with the Rasa stack
How AI can help you build better customer relationships?
Chatbot
Ad

Similar to Clever data building a chatbot from your database (20)

PDF
Clever data: building a chatbot from your database
PPTX
Clever data building a chatbot from your database
PDF
Everything you need to know about chatbots
PDF
Bot design AIsatPN 2018
PPTX
virtual-2021-data.sql_.saturday.la-Building database interactions with users ...
PPTX
Mat Velloso - Bots in the real world
PDF
Chatbotmeetup15062017
PPTX
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
PPTX
SharePoint Fest DC 2019 - Bot Framework and Microsoft Graph - Join The Revolu...
PPTX
Tech talk - Microsoft A.I.
PPTX
chatbotppt-2-221230190622-6b7k0e717.pptx
PPT
Building a bot with an intent
PDF
Lessons learned from building a commercial bot development platform
PPTX
Human vs Bot: Giocare a Sasso-Carta-Forbici - Matteo Valoriani, Antimo Musone...
PPTX
Chatbot Technology
PPTX
chatbotppt-2-221230190622-6b70e7171.pptx
PPTX
The implementation of Big Data and AI on Digital Marketing
PPTX
Microsoft teams & bot framework - A developer's perspective
PPTX
The Software Challenges of Building Smart Chatbots - ICSE'21
PPTX
CHATBOT PPT-2.pptx
Clever data: building a chatbot from your database
Clever data building a chatbot from your database
Everything you need to know about chatbots
Bot design AIsatPN 2018
virtual-2021-data.sql_.saturday.la-Building database interactions with users ...
Mat Velloso - Bots in the real world
Chatbotmeetup15062017
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
SharePoint Fest DC 2019 - Bot Framework and Microsoft Graph - Join The Revolu...
Tech talk - Microsoft A.I.
chatbotppt-2-221230190622-6b7k0e717.pptx
Building a bot with an intent
Lessons learned from building a commercial bot development platform
Human vs Bot: Giocare a Sasso-Carta-Forbici - Matteo Valoriani, Antimo Musone...
Chatbot Technology
chatbotppt-2-221230190622-6b70e7171.pptx
The implementation of Big Data and AI on Digital Marketing
Microsoft teams & bot framework - A developer's perspective
The Software Challenges of Building Smart Chatbots - ICSE'21
CHATBOT PPT-2.pptx
Ad

More from Luis Beltran (20)

PPTX
AI for Accessibility.pptx
PPTX
NET Conf Bhubaneswar - Migrating your Xamarin.Forms app to .NET MAUI.pptx
PPTX
03 GlobalAIBootcamp2020Lisboa-Rock, Paper, Scissors.pptx
PPTX
BI LATAM Summit 2022 - Creación de soluciones de automatización serverless-...
PDF
CEIAAIT - Fundamentos y Aplicaciones de Deep Learning.pdf
PPTX
Computo en la Nube con Azure - AI Gaming Panama.pptx
PPTX
5StarsConf - Serverless Machine Learning con Azure Functions y ML.NET .pptx
PPTX
ACW - Azure Speaker Recognition Biometria de Voz.pptx
PPTX
UNICABA - Azure Machine Learning.pptx
PPTX
Azure Talks Bolivia - Aumente la confiabilidad de su negocio con Azure Anomal...
PPTX
Latino NET - Integrando WhatsApp en nuestras apps .NET con Twilio.pptx
PPTX
NOVA - Enriquecimiento de IA con Azure Cognitive Search.pptx
PPTX
Netcoreconf 2021 Realidad mixta en apps móviles con Azure Spatial Anchors y ...
PPTX
ATG Puebla - El cementerio de Microsoft.pptx
PPTX
Data-Saturday-10-Sofia-2021 Azure Video Indexer- Advanced data extraction fro...
PPTX
Azure Community Conference - Image Recognition in WhatsApp chatbot with Azure...
PPTX
Real NET Docs Show - Serverless Machine Learning v3.pptx
PPTX
Sesion 5 - Eficiencia del Rendimiento - Well Architected Backstage Tour.pptx
PPTX
XamarinExpertDay - Creating PDF files in mobile apps with PdfSharpCore and Mi...
PPTX
Latam Space Week - Clasificación de rocas espaciales por medio de IA.pptx
AI for Accessibility.pptx
NET Conf Bhubaneswar - Migrating your Xamarin.Forms app to .NET MAUI.pptx
03 GlobalAIBootcamp2020Lisboa-Rock, Paper, Scissors.pptx
BI LATAM Summit 2022 - Creación de soluciones de automatización serverless-...
CEIAAIT - Fundamentos y Aplicaciones de Deep Learning.pdf
Computo en la Nube con Azure - AI Gaming Panama.pptx
5StarsConf - Serverless Machine Learning con Azure Functions y ML.NET .pptx
ACW - Azure Speaker Recognition Biometria de Voz.pptx
UNICABA - Azure Machine Learning.pptx
Azure Talks Bolivia - Aumente la confiabilidad de su negocio con Azure Anomal...
Latino NET - Integrando WhatsApp en nuestras apps .NET con Twilio.pptx
NOVA - Enriquecimiento de IA con Azure Cognitive Search.pptx
Netcoreconf 2021 Realidad mixta en apps móviles con Azure Spatial Anchors y ...
ATG Puebla - El cementerio de Microsoft.pptx
Data-Saturday-10-Sofia-2021 Azure Video Indexer- Advanced data extraction fro...
Azure Community Conference - Image Recognition in WhatsApp chatbot with Azure...
Real NET Docs Show - Serverless Machine Learning v3.pptx
Sesion 5 - Eficiencia del Rendimiento - Well Architected Backstage Tour.pptx
XamarinExpertDay - Creating PDF files in mobile apps with PdfSharpCore and Mi...
Latam Space Week - Clasificación de rocas espaciales por medio de IA.pptx

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The AUB Centre for AI in Media Proposal.docx
Review of recent advances in non-invasive hemoglobin estimation
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
20250228 LYD VKU AI Blended-Learning.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Spectroscopy.pptx food analysis technology
MYSQL Presentation for SQL database connectivity
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Big Data Technologies - Introduction.pptx
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Clever data building a chatbot from your database

  • 1. Clever data: Building a chatbot from your database Luis Beltrán April 27th, 2019
  • 2. Luis Beltrán • Microsoft MVP in Developer Technologies • Researcher and PhD student at Tomás Bata University in Zlín, Czech Republic. • Professor at Tecnológico Nacional de México in Celaya, Mexico. @darkicebeam luis@luisbeltran.mx
  • 4. • A bot performs an action: • Typically, bots react/respond to messages (conversational bots). • Bots might run a background task. • A bot detects a user’s intent. • A bot is able to combine millions of data from different sources. • A bot is available 24/7/365 • Any platform, anywhere. • A bot uses AI to improve the user experience and keeps human effort to a minimum.
  • 6. Handoff to Human Every company deals with this:
  • 7. Handoff to Human First triage/data collection Simple and repetitive solutions If it is simple and repetitive, it can be coded. Bots can accelerate it
  • 9. Handoff to Human Bot to human hand off: Complete or supervised
  • 10. Thank you for providing all this information. I have John with me now who will take from here and help you out Hello, this is John. I understand your computer won’t power on. Let’s take a look at some service options I’ve tried these steps, my computer still won’t turn on Sounds lovely, thank you I suggest us to request a hardware service. We can have one of our service engineers look at your computer Note to operator: It sounds like the user will need hardware replacement, what next step should I take? Apologize to user Suggest hardware service Let me type
  • 11. What is the Bot Framework? 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 Cortana 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
  • 12. Bot web service Your bot code Entity Extraction Speech Vision/Face Natural Language Translation + Microsoft Cognitive Services Search Emotion Knowledge API … Message input <> output State Management Bot Connector Service Conversation Canvas/Channels …… … Other services, APIs, Databases, Azure Machine Learning, Azure Search, etc… Bot Builder SDK Web Chat Direct Line… Email Facebook GroupMe Kik Skype Slack Telegram Twilio (SMS) An x-ray of a typical bot Bot Builder SDK Your bot code goes here
  • 13. Bot Connector messages Your bot { "type": "Message", "id": "68YrxgtB53Y", "conversationId": "DphPaFQrDuZDKyCez4AFGcT4vy5aQDje1lLGIjB8v18MFtb", "language": "en", "text": "You can say "/order" to order!", "attachments": [ ], "from": { "name": "+12065551212", "channelId": "sms", "address": "+12065551212", "id": "Ro52hKN287", "isBot": false }, "channelData": { SMS data here }, "botUserData": { your data here }, ... } Bot Connector
  • 14. Bot Builder SDK Template Your Bot LUIS Publish to Azure Connect to users Add dialog smarts
  • 15. Bot Builder SDK Template
  • 17. Language Understanding Intelligent Service (LUIS) “I want to find news about flight delays” { “entities”: [ { “entity”: “flight delays”, “type”: “Topic” } ], “intents”: [ { “intent”: “FindNews”, “score”: 0.99853384 }, { “intent”: “None”, “score”: 0.07289317 }, { “intent”: “ReadNews”, “score”: 0.0167122427 }, { “intent”: “ShareNews”, “score”: 1.0919299E-06 } ] }
  • 20. Add Dialog Smarts with Adaptive Cards Notification Microsoft Teams Skype Android iOS
  • 22. Bot scenarios • Q & A • Helpdesk • Product selection • Task automation • Monitoring • Expert Systems
  • 23. Call to action • Microsoft Bot Framework https://dev.botframework.com/ • Microsoft Cognitive Services https://microsoft.com/cognitive • Bot Builder http://github.com/Microsoft/botbuilder • LUIS https://luis.ai • Docs https://aka.ms/azure/bots/overview/docs
  • 24. ¡Thank you for your attention! Luis Beltrán Tomás Bata University in Zlín Tecnológico Nacional de México en Celaya luis@luisbeltran.mx luisbeltran.mx @darkicebeam GitHub: https://github.com/icebeam7 LinkedIn: https://linkedin.com/in/luisantoniobeltran SlideShare: https://slideshare.net/icebeam YouTube: https://youtube.com/user/darkicebeam About Me: https://about.me/luis-beltran