SlideShare une entreprise Scribd logo
1  sur  35
The Internet: transforming society and
shaping the future through chat(bots)
Galiya Warrier
what are chatbots?
Programs that use
conversation as
interface
Programs that
function on a top of
messaging platform
“Chatbot is also known as
chatterbot, talkbot, bot, chatterbox,
or Artificial Conversational Entity”
what are chatbots?
Programs that are
perceived to be
intelligent:
- Some based on rules
- Some may use AI
@galiyawarrier
“Classic” chatbots
1960s-70s
ELIZA (Doctor)
a simulation of a psychotherapist
PARRY
a simulation of a person with
paranoid schizophrenia.
chatbots
history
page
04
Alan Turing
1950
Paper on the topic of AI
“Computing Machinery and Intelligence”
Introduces Turing test concept
Considers a question
“Can machines think?”
@galiyawarrier
chatbots
history
page
05
1990s – 00s
“General” chatbots
Research using NLP-backed chatbots continues
Albert One, Alice, Cleverbot,
many others
They become more and more mainstream
Wikipedia runs ~2000 bots
Applications within automated online assistance,
call centers, dating / romance apps,
conversational toys, etc.Loebner Prize: annual AI competition based on
Turing Test
Malicious bots on IM applications
@galiyawarrier
2016
Facebook launches bot
platform for Messenger as F8
with a bot engine hosted by Wit.ai (April),
allows to take payments (September)
Google announces Allo & Assistant services at Google I/O (May),
launches Allo and acquires API.ai - a conversational platform (September)
Kik opens a bot store
chatbots
history
page
06
Microsoft’s rough start with Tay chatbot,
announces Bot Framework
at //Build (March)
Slack, WeChat (China) and others
continue to use bots
Oracle presents its chatbot
platform targeted at enterprise
architectures (September)
@galiyawarrier
Source: http://uk.businessinsider.com/the-messaging-app-report-2015-11
why
2016?
page
07
@galiyawarrier
why
now?
page
08
Users are tired of searching for and installing
yet-another-mobile-application
Advanced natural language processing tools
available for developers via API calls.
Mobile app developers struggle to make their
products visible to the right audience
of consumer’s time on smartphone
spent using 5 apps*85%
* Each user have their own selection of those five, but mostly games, social networking or messaging apps
Source: https://techcrunch.com/2015/06/22/consumers-spend-85-of-time-on-smartphones-in-apps-but-only-5-apps-see-heavy-use/
@galiyawarrier
benefits
for business
page
010
They can be where their customers are:
inside those messaging applications
nick dutch
head of marketing @ domino pizza uk
“Essentially we are simply
adapting to our customers’
behaviours rather than trying
to target new customers.”
Source: https://www.marketingweek.com/2016/08/17/dominos-pizza-explains-why-it-is-chasing-facebook-bots/
https://medium.com/chris-messina/2016-will-be-the-year-of-conversational-commerce-1586e85e3991#.8r6oolxlu
chris messina
developer experience lead @ uber
“…utilizing chat, messaging, or other interfaces
to interact with people, brands, or services …
The net result is that you and I will be talking to
brands and companies over FB Messenger,
WhatsApp, Telegram, Slack, and elsewhere
before year’s end, and will find it normal.”
@galiyawarrier
benefits
for you as developers
page
011
Build once
Users already on
chat platforms
Use on different
channels
Integrate additional
capabilities
(APIs: NLP, search, etc.)
@galiyawarrier
benefits
for bots
page
012
Available anytime and anywhere
Can interact with humans in multiple ways
Text, UI, Voice options depending which is more preferred in a specific situation
Can deal with complex or mundane (for humans) tasks
Process large sets of information; Finding patterns; Talk back-and-forth
Consistent way of interacting with various services
@galiyawarrier
bot
patterns
page
013
01
Transactions
Lookup, reference and information
seeking scenarios backed by a data
source
• “Book me 2 tickets for Deepwater
Horizon movie using my credit card for
tomorrow evening”
03
Advisory role
Prescriptive guidance via “expert
systems” based on user input:
• “How much I can save if I switch to a
payment plan X?”
02
Social conversations
Ability to sense sentiment and
engage in open-ended conversation
within bot area of “expertise”
• “Your product is horrible. Is there anyone I
can talk to about it?”
04
Information retrieval
Lookup, reference and information
seeking scenarios backed by a data
source:
• “What are the features of service plan B?”
Demo:
Digi T-Rex Bot
@galiyawarrier
so how do I
build a bot?
page
015
@galiyawarrier
bot stack
(survey)
Survey: “What’s in your bot stack?”
40 responses, 19/08/16 - 29/08/16
(multiple responses allowed)
Source: https://aka.ms/bot-survey
The results of the survey were far less definitive…The answers to the various
forms of “I want to build Bot Type X, what should I use?” are very much TBD at
the moment
There’s a lot of flexibility if you’re currently getting started building bots. The
frameworks and language tools accessible to anyone with an interest in
spinning up a bot on one (or many) platforms is incredible, considering that
most of the major advances and releases have been in the past 18mo.”
page
016
@galiyawarrier
bot
landscape
page
017
https://aka.ms/bot-landscape
@galiyawarrier
microsoft
bot framework
page
018
Bot Builder SDKs
Build great dialogs
within your Node.js- or
C#-based bot
01
Bot Connector
Connect your bot(s) to
text, Skype, Slack, and
other services
02
Bot Directory
Try a bot and add it to
your conversations
03
@galiyawarrier
• Create bot using C# or node.js
• You need to host it somewhere
• SDK supports dialogs to model a conversation:
• Reusable
• Persistent dialog state
• Various dialog types
• SDK allows for rich interactions:
• Rich attachments (image, card, doc, video
• Support for calling (Skype*)
• Chat Emulator
bot builder sdk
(.net, node.js, rest)
Your conversation logic
Logic
Web Service Cognitive Services:
LUIS, Translation, etc.
@galiyawarrier
bot
connector
@galiyawarrier
bot connector
messages
page
021
{
"type": "Message",
"id": "68YrxgtB53Y",
"conversationId": "DphPaFQrDuZDKyCez4AFGcTjB8v18MFtb",
"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
@galiyawarrier
bot
directory
@galiyawarrier
*
developer
portal
@galiyawarrier
*
make your bot
smart
@galiyawarrier
Bot Framework
Emulator
• Send requests and receive responses to/from
your bot endpoint on localhost
• Inspect the JSON response
• Emulate a specific user and/or conversation
Download from:
https://aka.ms/msbot-emulator
*
Demo:
“Show me the code!”
@galiyawarrier
Cognitive services:
LUIS
page
027
(aka Language Understanding)
• Determines intent and detect entities
• Seamless integration with Speech
Recognition
• Learns over time
• Use pre-built models from Bing &
Cortana
• Models work across devices
Your bot will interact with LUIS by routing queries to LUIS API
for intent and entity matching
@galiyawarrier
Connect to Skype, Slack,
Telegram, custom website
page
028
Demo:
“NLP-powered and
out in the wild!”
@galiyawarrier
bots for
everything?
page
030
noyes
Tasks with lots of (sequential) options
(i.e. appeal for parking tickets)
Expected conversations
(i.e. order a pizza, book an appointment)
Non-time critical queries with many
options (i.e. book restaurant for team
off-site)
Help on a singular task with many variables
(i.e. find fastest route from A to B)
Time critical requests
(i.e. book restaurant / taxi for now)
No, not all interactions are conversations!
@galiyawarrier
challenges,
opportunities
page
031
chatbots still in their infancy
Bots are simple, may be developed out of curiosity and
hype, people can play with them and then abandon.
lack of universal platform / standards
Bots have neither standards nor mature technology stacks
(compared to web’s W3C)
bot discovery still an issue
Consolidated “app store” for bots?
@galiyawarrier
important
takeaways
page
032
Watch this space as it continues to expand
Simple for developers and convenient for users
Bots cannot solve every problem, but very good at
tackling some of them
@galiyawarrier
additional notes,
links and resources
page
033
• https://chatbotsmagazine.com - Chatbots magazine
• http://conferences.oreilly.com/artificial-intelligence/bot-ca - The first-ever O'Reilly Bot Day
• https://botness.fuselabs.org - Botness Gathering / Unconference (06/2016)
• https://aka.ms/msbot-resources - (All) Microsoft Bot Framework Resources
• http://www.donotpay.co.uk/signup.php - Lawyer Bot
• https://www.producthunt.com/tech/ask-elon-musk-bot - Chat one-on-one with Elon Musk
P.S. Title of talk was inspired by a quote from Dave Barry, a Pulitzer Prize winning author and columnist
Sponsors
thank you!
Galiya Warrier
Cloud Solution Architect (Azure)
Microsoft UK
galiyawarrier
github.com/Galiya
Slides are available at:
https://aka.ms/chatbots-dddnorth

Contenu connexe

Tendances

Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16
Samuel Adams, MBA
 
WS_Chatbots_Sid_Presentation
WS_Chatbots_Sid_PresentationWS_Chatbots_Sid_Presentation
WS_Chatbots_Sid_Presentation
sid_webspiders
 

Tendances (20)

Artificial Intelligence as an Interface - How Conversation Bots Are Changing ...
Artificial Intelligence as an Interface - How Conversation Bots Are Changing ...Artificial Intelligence as an Interface - How Conversation Bots Are Changing ...
Artificial Intelligence as an Interface - How Conversation Bots Are Changing ...
 
Bots are loving you
Bots are loving youBots are loving you
Bots are loving you
 
designing conversations: Conversational interfaces, Bot Interactions, Chatb...
designing conversations: Conversational interfaces, Bot Interactions, Chatb...designing conversations: Conversational interfaces, Bot Interactions, Chatb...
designing conversations: Conversational interfaces, Bot Interactions, Chatb...
 
Chatbot report with sap hybris
Chatbot report with sap hybrisChatbot report with sap hybris
Chatbot report with sap hybris
 
The rise of Chatbots – Airtouch presentation over Chatbot Use Cases
The rise of Chatbots – Airtouch presentation over Chatbot Use CasesThe rise of Chatbots – Airtouch presentation over Chatbot Use Cases
The rise of Chatbots – Airtouch presentation over Chatbot Use Cases
 
Designing chatbot personalities
Designing chatbot personalitiesDesigning chatbot personalities
Designing chatbot personalities
 
Chatbots paris meetup may 24 2016
Chatbots paris meetup   may 24 2016Chatbots paris meetup   may 24 2016
Chatbots paris meetup may 24 2016
 
Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16
 
Using Chatbots in Extension Programming
Using Chatbots in Extension ProgrammingUsing Chatbots in Extension Programming
Using Chatbots in Extension Programming
 
The Rise of Chatbots in 2016
The Rise of Chatbots in 2016The Rise of Chatbots in 2016
The Rise of Chatbots in 2016
 
WS_Chatbots_Sid_Presentation
WS_Chatbots_Sid_PresentationWS_Chatbots_Sid_Presentation
WS_Chatbots_Sid_Presentation
 
Chat bots101 - practical insights on the business of bots
Chat bots101 - practical insights on the business of botsChat bots101 - practical insights on the business of bots
Chat bots101 - practical insights on the business of bots
 
Bots & Customer Service
Bots & Customer ServiceBots & Customer Service
Bots & Customer Service
 
Chatbot
ChatbotChatbot
Chatbot
 
An Introduction To Chatbots
An Introduction To Chatbots An Introduction To Chatbots
An Introduction To Chatbots
 
Chatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovernChatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovern
 
Introduction to Facebook Messenger, Conversational UI & NLP
Introduction to Facebook Messenger, Conversational UI & NLPIntroduction to Facebook Messenger, Conversational UI & NLP
Introduction to Facebook Messenger, Conversational UI & NLP
 
Finance bots - The move toward conversational finance
Finance bots - The move toward conversational financeFinance bots - The move toward conversational finance
Finance bots - The move toward conversational finance
 
AI-powered Chatbots - what they are and where they're going
AI-powered Chatbots - what they are and where they're goingAI-powered Chatbots - what they are and where they're going
AI-powered Chatbots - what they are and where they're going
 
Designing for conversation
Designing for conversationDesigning for conversation
Designing for conversation
 

Similaire à Chatbots DDD North2016

Mark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot ExperiencesMark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot Experiences
Mark N Swaine
 

Similaire à Chatbots DDD North2016 (20)

Chatbot cheatsheet
Chatbot cheatsheet Chatbot cheatsheet
Chatbot cheatsheet
 
Big Design 2018 - Chatbots & Chatboxes
Big Design 2018 - Chatbots & ChatboxesBig Design 2018 - Chatbots & Chatboxes
Big Design 2018 - Chatbots & Chatboxes
 
Mark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot ExperiencesMark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot Experiences
 
Articlepdf[1]
Articlepdf[1]Articlepdf[1]
Articlepdf[1]
 
The evolution of chatbots
The evolution of chatbotsThe evolution of chatbots
The evolution of chatbots
 
Cascon 2016 Keynote: Disrupting Developer Productivity One Bot at a Time
Cascon 2016 Keynote: Disrupting Developer Productivity One Bot at a TimeCascon 2016 Keynote: Disrupting Developer Productivity One Bot at a Time
Cascon 2016 Keynote: Disrupting Developer Productivity One Bot at a Time
 
Chat bot technologies overview
Chat bot technologies overviewChat bot technologies overview
Chat bot technologies overview
 
USECON Webinar "Alina's Guests": Chatbots with Floor Drees from sektor5
USECON Webinar "Alina's Guests": Chatbots with Floor Drees from sektor5USECON Webinar "Alina's Guests": Chatbots with Floor Drees from sektor5
USECON Webinar "Alina's Guests": Chatbots with Floor Drees from sektor5
 
USECON Webinar 2017: Alina's Guests - Floor Drees from sektor5
USECON Webinar 2017: Alina's Guests - Floor Drees from sektor5USECON Webinar 2017: Alina's Guests - Floor Drees from sektor5
USECON Webinar 2017: Alina's Guests - Floor Drees from sektor5
 
Conversation UIs & Chatbots an introduction
Conversation UIs & Chatbots an introductionConversation UIs & Chatbots an introduction
Conversation UIs & Chatbots an introduction
 
Everything you need to know about chatbots
Everything you need to know about chatbotsEverything you need to know about chatbots
Everything you need to know about chatbots
 
Chatbot Technology
Chatbot TechnologyChatbot Technology
Chatbot Technology
 
Chatbot Design Trend 2018
Chatbot Design Trend 2018Chatbot Design Trend 2018
Chatbot Design Trend 2018
 
Conversational Interfaces & Brand Storytelling
Conversational Interfaces & Brand StorytellingConversational Interfaces & Brand Storytelling
Conversational Interfaces & Brand Storytelling
 
Nihad Abbasov-Intellectual technology presentation
Nihad Abbasov-Intellectual technology presentation Nihad Abbasov-Intellectual technology presentation
Nihad Abbasov-Intellectual technology presentation
 
Artificial Intelligence Virtual Assistants & Chatbots
Artificial Intelligence Virtual Assistants & ChatbotsArtificial Intelligence Virtual Assistants & Chatbots
Artificial Intelligence Virtual Assistants & Chatbots
 
02 David Wright
02 David Wright02 David Wright
02 David Wright
 
Break-out Session: Artificial Intelligence and the Impact on Business Claudio...
Break-out Session: Artificial Intelligence and the Impact on Business Claudio...Break-out Session: Artificial Intelligence and the Impact on Business Claudio...
Break-out Session: Artificial Intelligence and the Impact on Business Claudio...
 
Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)
 
chatbots.pdf
chatbots.pdfchatbots.pdf
chatbots.pdf
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Chatbots DDD North2016

  • 1. The Internet: transforming society and shaping the future through chat(bots) Galiya Warrier
  • 2. what are chatbots? Programs that use conversation as interface Programs that function on a top of messaging platform “Chatbot is also known as chatterbot, talkbot, bot, chatterbox, or Artificial Conversational Entity”
  • 3. what are chatbots? Programs that are perceived to be intelligent: - Some based on rules - Some may use AI
  • 4. @galiyawarrier “Classic” chatbots 1960s-70s ELIZA (Doctor) a simulation of a psychotherapist PARRY a simulation of a person with paranoid schizophrenia. chatbots history page 04 Alan Turing 1950 Paper on the topic of AI “Computing Machinery and Intelligence” Introduces Turing test concept Considers a question “Can machines think?”
  • 5. @galiyawarrier chatbots history page 05 1990s – 00s “General” chatbots Research using NLP-backed chatbots continues Albert One, Alice, Cleverbot, many others They become more and more mainstream Wikipedia runs ~2000 bots Applications within automated online assistance, call centers, dating / romance apps, conversational toys, etc.Loebner Prize: annual AI competition based on Turing Test Malicious bots on IM applications
  • 6. @galiyawarrier 2016 Facebook launches bot platform for Messenger as F8 with a bot engine hosted by Wit.ai (April), allows to take payments (September) Google announces Allo & Assistant services at Google I/O (May), launches Allo and acquires API.ai - a conversational platform (September) Kik opens a bot store chatbots history page 06 Microsoft’s rough start with Tay chatbot, announces Bot Framework at //Build (March) Slack, WeChat (China) and others continue to use bots Oracle presents its chatbot platform targeted at enterprise architectures (September)
  • 8. @galiyawarrier why now? page 08 Users are tired of searching for and installing yet-another-mobile-application Advanced natural language processing tools available for developers via API calls. Mobile app developers struggle to make their products visible to the right audience
  • 9. of consumer’s time on smartphone spent using 5 apps*85% * Each user have their own selection of those five, but mostly games, social networking or messaging apps Source: https://techcrunch.com/2015/06/22/consumers-spend-85-of-time-on-smartphones-in-apps-but-only-5-apps-see-heavy-use/
  • 10. @galiyawarrier benefits for business page 010 They can be where their customers are: inside those messaging applications nick dutch head of marketing @ domino pizza uk “Essentially we are simply adapting to our customers’ behaviours rather than trying to target new customers.” Source: https://www.marketingweek.com/2016/08/17/dominos-pizza-explains-why-it-is-chasing-facebook-bots/ https://medium.com/chris-messina/2016-will-be-the-year-of-conversational-commerce-1586e85e3991#.8r6oolxlu chris messina developer experience lead @ uber “…utilizing chat, messaging, or other interfaces to interact with people, brands, or services … The net result is that you and I will be talking to brands and companies over FB Messenger, WhatsApp, Telegram, Slack, and elsewhere before year’s end, and will find it normal.”
  • 11. @galiyawarrier benefits for you as developers page 011 Build once Users already on chat platforms Use on different channels Integrate additional capabilities (APIs: NLP, search, etc.)
  • 12. @galiyawarrier benefits for bots page 012 Available anytime and anywhere Can interact with humans in multiple ways Text, UI, Voice options depending which is more preferred in a specific situation Can deal with complex or mundane (for humans) tasks Process large sets of information; Finding patterns; Talk back-and-forth Consistent way of interacting with various services
  • 13. @galiyawarrier bot patterns page 013 01 Transactions Lookup, reference and information seeking scenarios backed by a data source • “Book me 2 tickets for Deepwater Horizon movie using my credit card for tomorrow evening” 03 Advisory role Prescriptive guidance via “expert systems” based on user input: • “How much I can save if I switch to a payment plan X?” 02 Social conversations Ability to sense sentiment and engage in open-ended conversation within bot area of “expertise” • “Your product is horrible. Is there anyone I can talk to about it?” 04 Information retrieval Lookup, reference and information seeking scenarios backed by a data source: • “What are the features of service plan B?”
  • 15. @galiyawarrier so how do I build a bot? page 015
  • 16. @galiyawarrier bot stack (survey) Survey: “What’s in your bot stack?” 40 responses, 19/08/16 - 29/08/16 (multiple responses allowed) Source: https://aka.ms/bot-survey The results of the survey were far less definitive…The answers to the various forms of “I want to build Bot Type X, what should I use?” are very much TBD at the moment There’s a lot of flexibility if you’re currently getting started building bots. The frameworks and language tools accessible to anyone with an interest in spinning up a bot on one (or many) platforms is incredible, considering that most of the major advances and releases have been in the past 18mo.” page 016
  • 18. @galiyawarrier microsoft bot framework page 018 Bot Builder SDKs Build great dialogs within your Node.js- or C#-based bot 01 Bot Connector Connect your bot(s) to text, Skype, Slack, and other services 02 Bot Directory Try a bot and add it to your conversations 03
  • 19. @galiyawarrier • Create bot using C# or node.js • You need to host it somewhere • SDK supports dialogs to model a conversation: • Reusable • Persistent dialog state • Various dialog types • SDK allows for rich interactions: • Rich attachments (image, card, doc, video • Support for calling (Skype*) • Chat Emulator bot builder sdk (.net, node.js, rest) Your conversation logic Logic Web Service Cognitive Services: LUIS, Translation, etc.
  • 21. @galiyawarrier bot connector messages page 021 { "type": "Message", "id": "68YrxgtB53Y", "conversationId": "DphPaFQrDuZDKyCez4AFGcTjB8v18MFtb", "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
  • 25. @galiyawarrier Bot Framework Emulator • Send requests and receive responses to/from your bot endpoint on localhost • Inspect the JSON response • Emulate a specific user and/or conversation Download from: https://aka.ms/msbot-emulator *
  • 27. @galiyawarrier Cognitive services: LUIS page 027 (aka Language Understanding) • Determines intent and detect entities • Seamless integration with Speech Recognition • Learns over time • Use pre-built models from Bing & Cortana • Models work across devices Your bot will interact with LUIS by routing queries to LUIS API for intent and entity matching
  • 28. @galiyawarrier Connect to Skype, Slack, Telegram, custom website page 028
  • 30. @galiyawarrier bots for everything? page 030 noyes Tasks with lots of (sequential) options (i.e. appeal for parking tickets) Expected conversations (i.e. order a pizza, book an appointment) Non-time critical queries with many options (i.e. book restaurant for team off-site) Help on a singular task with many variables (i.e. find fastest route from A to B) Time critical requests (i.e. book restaurant / taxi for now) No, not all interactions are conversations!
  • 31. @galiyawarrier challenges, opportunities page 031 chatbots still in their infancy Bots are simple, may be developed out of curiosity and hype, people can play with them and then abandon. lack of universal platform / standards Bots have neither standards nor mature technology stacks (compared to web’s W3C) bot discovery still an issue Consolidated “app store” for bots?
  • 32. @galiyawarrier important takeaways page 032 Watch this space as it continues to expand Simple for developers and convenient for users Bots cannot solve every problem, but very good at tackling some of them
  • 33. @galiyawarrier additional notes, links and resources page 033 • https://chatbotsmagazine.com - Chatbots magazine • http://conferences.oreilly.com/artificial-intelligence/bot-ca - The first-ever O'Reilly Bot Day • https://botness.fuselabs.org - Botness Gathering / Unconference (06/2016) • https://aka.ms/msbot-resources - (All) Microsoft Bot Framework Resources • http://www.donotpay.co.uk/signup.php - Lawyer Bot • https://www.producthunt.com/tech/ask-elon-musk-bot - Chat one-on-one with Elon Musk P.S. Title of talk was inspired by a quote from Dave Barry, a Pulitzer Prize winning author and columnist
  • 35. thank you! Galiya Warrier Cloud Solution Architect (Azure) Microsoft UK galiyawarrier github.com/Galiya Slides are available at: https://aka.ms/chatbots-dddnorth