SlideShare une entreprise Scribd logo
1  sur  43
Chatbots
Introduction
Chatbots provide a natural language
interface to their users
Eugene Goostman
Google AI chatbot
Facebook AI develops
own language
Microsoft’s Tay
The Good of Chatbots
Message platforms are everywhere
Simple, known interface
Applicable to many situations
63% of the people are willing to communicate through chatbots[1]
[1]: https://venturebeat.com/2017/06/17/the-good-the-bad-and-the-ugly-of-chatbots/
avaamo.com
Introduction: the Bad of Chatbots
73% won’t use the chatbot again after a bad experience[1]
75% want to know it is a bot[1]
50% are disturbed when a bot pretends to be human[1]
Not all languages are equally supported
[1]: https://venturebeat.com/2017/06/17/the-good-the-bad-and-the-ugly-of-chatbots/
steemit.com/@resteemitnow
Natural Language Processing
NLG
Natural Language Generation
Data => ‘Natural’ text
Easy
NLU NLG
Natural Language Understanding Natural Language Generation
Natural text to structured data Data to natural text
Hard Easy
Types of Chatbots
Easy
FAQ
Form
Hard
Complex
Conversation Within
Domain
Smart Home,
Basic Customer Service,
Basic Information
Adv. Customer Service
(Advanced FAQ + Form)
String
Distance
Conversation
Flow
Matching Commands
And Arguments
Conversation
Context
Conversation Flow
+ Commands
Advanced
Information
Database Access
+ Filter Matching
FAQ / Simple Information Lookup
• User: asks questions
• Chatbot: gives answers
• Easy to build
• No machine learning
Guided Conversation / Form
• Chatbot asks questions
• User answers
• Slightly harder
• machine learning -> extract entities
Information Lookup
• Database access through conversation
• User asks questions or gives commands
• Chatbot gives answers, asks questions back
• Difference with FAQ: Context and Entity resolution
Smart Home / Simple Information Lookup
• Perform tasks
• User tells Chatbot what to do
• Chatbot answers/confirms/asks follow-up questions
Types of Chatbots: Personal Assistant
• Collection of other chatbots
• Redirects actions/questions to ‘sub’
chatbots
• Seamless integration between
different chatbots
• e.g. Google Assistant, Siri, ...
Common Concepts
•Intents
•Entities
•Context
•Prompts
•Follow-up / Flows
Common Concepts: Intents
• Phrases get mapped to intents
• Function calls on the chatbot
→entities are arguments
• Often a function in back-end
Common Concepts: Entities
• Building blocks of the conversation
• Entities are passed to back-end
• e.g:
Common Concepts: Entities - Example
• “number” entity → mapped to 3
• Request 3 of something from back-end
Common Concepts: Entities - Example
• “Movies” → “requested” entity
• Request movies from back-end
Common Concepts: Entities - Example
• “person” entities
• Passes persons as arguments
Common Concepts: Entities - Example
• “with_actors” composite entity
• Passes list of persons as “actors” argument
Common Concepts: Context
• Context = entities from previous phrases & replies
● pagination
○ “three more please”
● changing part of the query
○ “who played in <movie>?”
○ “who directed it?”
● follow-up
Common Concepts: Prompts
•Prompt when missing required entities
•e.g.:
• User: “What’s the weather for today?”
• Weatherbot: “For what city?”
Common Concepts: Follow-up / Flows
•Follow-up questions guide users into Flows
•Example
•InsureBot: “What brand of car?”
•User: “<car brand>”
•InsureBot: “What year was the car made?”
•…
Technologies
Amazon Facebook Google IBM Microsoft Oracle
VPA Amazon Echo line - Google Home line -
Cortana,
Integration with
Amazon Alexa
Oracle Voice (ios
app store)
Dev Platform
Alexa Voice Services,
Alexa Skills Kit
RESTful wit.ai
backend
Dialogflow IBM BlueMix Windows
Oracle Mobile
Cloud Services
Speech
Synthesis API
Polly (+SSML) - unnamed (+SSML)
Watson Text To
Speech (Bluemix)
Bing Speech API
(+SSML)
Nuance (paywall)
NLU Lex wit.ai Dialogflow Conversation API LUIS.ai Nuance (paywall)
Bot Creation
Interface with Echo
line
Interface with
Facebook Chat
One-click Integration
in multiple platforms
BlueMix
MS Bot
Framework
Graphical UI
Free? Yes Yes
Dialogflow: Yes
Google cloud: Limited
Yes (Limited) Yes (Limited) No
Dutch? No Limited Limited Yes (Beta) Yes End 2017
Example data flow
•Lower Level libraries allow you to fine-tune (e.g. in python):
• spaCy
• nltk
• polyglot
• dateparser
DIY with Python
Natural Language Processing
Natural Language Understanding:
Hard
Need a lot of training data
Get semantic and entities from a
sentence
Create structured data from
unstructured natural text
Natural Language Generation:
Easy
Create file with template
sentences and insert entities
Add randomness
Natural Language Understanding: Pipeline
Best Practices
•Confirmation
•Buttons
•Openness
•Redirecting
•Design Considerations
Confirmation
•Stating the confirmation is fine for inconsequential mistakes:
•“What’s the weather for Memphis for next sunday?”
•“The weather for Memphis, Egypt for October 15th is …”
•“Cancel. What’s the weather for Memphis, Tennessee?”
Confirmation
•Asking for confirmation is better when there’s money on the line:
•“Book a flight for Memphis for tomorrow.”
•“Do you want me to book a flight for Memphis, Egypt on Thursday
the 12th of October?”
•“No, book a flight for Memphis, Tennessee.”
Confirmation
•Pick between choices:
•“Call Ellen”
•“Do you mean Ellen X or Ellen Y?”
•“Ellen Y”
Buttons
•for questions with clear options
•with buttons:
● users are reassured they’ll be understood
● users see all possibilities
● users can do nothing wrong
Openness
•Let Users Know it’s a Bot
•Bots are imperfect, users know and forgive
•Bots are limited, users adapt and stay on topic
•Users trust you/your bot, disguised bots break that trust
Redirect to Human
•Why?
•people will go beyond the bot’s capabilities and require human support
•When?
•complicated question, not covered in FAQ
•complaints
•on request
•How?
•low traffic: contact form may suffice
•high traffic: replace bot with human in same interface
Design Considerations
•Design considerations based on goal:
● Strict, down-to-business
● Informal with slang and jokes
● Voice interface
Design Considerations: Voice Interface
Bad
No buttons or images
Mispronunciation
Not private
Pros Cons
Wow-factor No buttons or images
Hands-free Mispronounciations
Faster than typing Not private
Testing
• Write recurrent test for your service
• API’s are young and prone to change
• Ensure proper working
• Notify if test are broken
Conclusion: Future
● NLU improvement
○ Speed
○ Accuracy
○ Language coverage
● More used by Businesses
● More accepted by Users
Questions?
Thanks for listening!
Smart Data Innovator
https://vectr.consulting

Contenu connexe

Tendances

Chat bots and AI
Chat bots and AIChat bots and AI
Chat bots and AIGeff Thomas
 
How do Chatbots Work? A Guide to Chatbot Architecture
How do Chatbots Work? A Guide to Chatbot ArchitectureHow do Chatbots Work? A Guide to Chatbot Architecture
How do Chatbots Work? A Guide to Chatbot ArchitectureMaruti Techlabs
 
Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16Samuel Adams, MBA
 
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational InterfacesThe Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational InterfacesTWG
 
Chatbot and Virtual AI Assistant Implementation in Natural Language Processing
Chatbot and Virtual AI Assistant Implementation in Natural Language Processing Chatbot and Virtual AI Assistant Implementation in Natural Language Processing
Chatbot and Virtual AI Assistant Implementation in Natural Language Processing Shrutika Oswal
 
Artificially Intelligent chatbot Implementation
Artificially Intelligent chatbot ImplementationArtificially Intelligent chatbot Implementation
Artificially Intelligent chatbot ImplementationRakesh Chintha
 
ChatGPT Deck.pptx
ChatGPT Deck.pptxChatGPT Deck.pptx
ChatGPT Deck.pptxomornahid1
 
Why Social Media Chat Bots Are the Future of Communication - Deck
Why Social Media Chat Bots Are the Future of Communication - DeckWhy Social Media Chat Bots Are the Future of Communication - Deck
Why Social Media Chat Bots Are the Future of Communication - DeckJan Rezab
 
Introduction to chat bot
Introduction to chat botIntroduction to chat bot
Introduction to chat botmohamed ali
 

Tendances (20)

Chatbot ppt
Chatbot pptChatbot ppt
Chatbot ppt
 
Chat bots and AI
Chat bots and AIChat bots and AI
Chat bots and AI
 
Chatbot
ChatbotChatbot
Chatbot
 
What is a chatbot?
What is a chatbot?What is a chatbot?
What is a chatbot?
 
How do Chatbots Work? A Guide to Chatbot Architecture
How do Chatbots Work? A Guide to Chatbot ArchitectureHow do Chatbots Work? A Guide to Chatbot Architecture
How do Chatbots Work? A Guide to Chatbot Architecture
 
Chat bot in_pythion
Chat bot in_pythionChat bot in_pythion
Chat bot in_pythion
 
Chatbot
ChatbotChatbot
Chatbot
 
Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16Chat Bots Presentation 8.9.16
Chat Bots Presentation 8.9.16
 
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational InterfacesThe Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
 
Chatbot_Presentation
Chatbot_PresentationChatbot_Presentation
Chatbot_Presentation
 
Final presentation on chatbot
Final presentation on chatbotFinal presentation on chatbot
Final presentation on chatbot
 
Chatbot and Virtual AI Assistant Implementation in Natural Language Processing
Chatbot and Virtual AI Assistant Implementation in Natural Language Processing Chatbot and Virtual AI Assistant Implementation in Natural Language Processing
Chatbot and Virtual AI Assistant Implementation in Natural Language Processing
 
Artificially Intelligent chatbot Implementation
Artificially Intelligent chatbot ImplementationArtificially Intelligent chatbot Implementation
Artificially Intelligent chatbot Implementation
 
Chatbots 101
Chatbots 101Chatbots 101
Chatbots 101
 
ChatGPT Deck.pptx
ChatGPT Deck.pptxChatGPT Deck.pptx
ChatGPT Deck.pptx
 
Why Social Media Chat Bots Are the Future of Communication - Deck
Why Social Media Chat Bots Are the Future of Communication - DeckWhy Social Media Chat Bots Are the Future of Communication - Deck
Why Social Media Chat Bots Are the Future of Communication - Deck
 
AI Chatbot
AI ChatbotAI Chatbot
AI Chatbot
 
Let's Build a Chatbot!
Let's Build a Chatbot!Let's Build a Chatbot!
Let's Build a Chatbot!
 
Chatbot Technology
Chatbot TechnologyChatbot Technology
Chatbot Technology
 
Introduction to chat bot
Introduction to chat botIntroduction to chat bot
Introduction to chat bot
 

Similaire à Chatbots

A Bird Eye View of Dialogue Machines
A Bird Eye View of Dialogue MachinesA Bird Eye View of Dialogue Machines
A Bird Eye View of Dialogue MachinesBatool Arhamna Haider
 
Chat bot technologies overview
Chat bot technologies overviewChat bot technologies overview
Chat bot technologies overviewdurga subburaman
 
인간의 이해: social design strategy
인간의 이해: social design strategy인간의 이해: social design strategy
인간의 이해: social design strategyBilly Choi
 
UX Bootcamp - August 2016
UX Bootcamp - August 2016UX Bootcamp - August 2016
UX Bootcamp - August 2016Jacklyn Burgan
 
Big Design 2018 - Chatbots & Chatboxes
Big Design 2018 - Chatbots & ChatboxesBig Design 2018 - Chatbots & Chatboxes
Big Design 2018 - Chatbots & ChatboxesDan Cohn
 
Webinar: Using Chatbots to Enhance the Event Experience
Webinar: Using Chatbots to Enhance the Event ExperienceWebinar: Using Chatbots to Enhance the Event Experience
Webinar: Using Chatbots to Enhance the Event ExperienceHubb
 
Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...
Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...
Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...Fwdays
 
ISTA 2017: Practical Chatbots - Technology Overview with Real-Life Stories
ISTA 2017: Practical Chatbots - Technology Overview with Real-Life StoriesISTA 2017: Practical Chatbots - Technology Overview with Real-Life Stories
ISTA 2017: Practical Chatbots - Technology Overview with Real-Life StoriesVassil Popovski
 
What Can Performance Support Designers Learn from User Experience Designers?
What Can Performance Support Designers Learn from User Experience Designers?What Can Performance Support Designers Learn from User Experience Designers?
What Can Performance Support Designers Learn from User Experience Designers?Jonathan Mann
 
End-to-End Task-Completion Neural Dialogue Systems
End-to-End Task-Completion Neural Dialogue SystemsEnd-to-End Task-Completion Neural Dialogue Systems
End-to-End Task-Completion Neural Dialogue SystemsYun-Nung (Vivian) Chen
 
Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...
Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...
Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...Anselm Hook
 
aOS Moscow - E1 - Bots and language understanding - Rick van Rousselt
aOS Moscow - E1 - Bots and language understanding - Rick van RousseltaOS Moscow - E1 - Bots and language understanding - Rick van Rousselt
aOS Moscow - E1 - Bots and language understanding - Rick van RousseltaOS Community
 

Similaire à Chatbots (20)

A Bird Eye View of Dialogue Machines
A Bird Eye View of Dialogue MachinesA Bird Eye View of Dialogue Machines
A Bird Eye View of Dialogue Machines
 
Chat bot technologies overview
Chat bot technologies overviewChat bot technologies overview
Chat bot technologies overview
 
인간의 이해: social design strategy
인간의 이해: social design strategy인간의 이해: social design strategy
인간의 이해: social design strategy
 
NLP.ppt
NLP.pptNLP.ppt
NLP.ppt
 
NLP.ppt
NLP.pptNLP.ppt
NLP.ppt
 
NLP.ppt
NLP.pptNLP.ppt
NLP.ppt
 
NLP.ppt
NLP.pptNLP.ppt
NLP.ppt
 
NLP.ppt
NLP.pptNLP.ppt
NLP.ppt
 
UX Bootcamp - August 2016
UX Bootcamp - August 2016UX Bootcamp - August 2016
UX Bootcamp - August 2016
 
Big Design 2018 - Chatbots & Chatboxes
Big Design 2018 - Chatbots & ChatboxesBig Design 2018 - Chatbots & Chatboxes
Big Design 2018 - Chatbots & Chatboxes
 
Webinar: Using Chatbots to Enhance the Event Experience
Webinar: Using Chatbots to Enhance the Event ExperienceWebinar: Using Chatbots to Enhance the Event Experience
Webinar: Using Chatbots to Enhance the Event Experience
 
Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...
Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...
Сергей Поплавский "DeepDive в Bot платформу Microsoft. Технические аспекты ра...
 
ISTA 2017: Practical Chatbots - Technology Overview with Real-Life Stories
ISTA 2017: Practical Chatbots - Technology Overview with Real-Life StoriesISTA 2017: Practical Chatbots - Technology Overview with Real-Life Stories
ISTA 2017: Practical Chatbots - Technology Overview with Real-Life Stories
 
Back to School with 50 Tech Tips
Back to School with 50 Tech TipsBack to School with 50 Tech Tips
Back to School with 50 Tech Tips
 
What Can Performance Support Designers Learn from User Experience Designers?
What Can Performance Support Designers Learn from User Experience Designers?What Can Performance Support Designers Learn from User Experience Designers?
What Can Performance Support Designers Learn from User Experience Designers?
 
End-to-End Task-Completion Neural Dialogue Systems
End-to-End Task-Completion Neural Dialogue SystemsEnd-to-End Task-Completion Neural Dialogue Systems
End-to-End Task-Completion Neural Dialogue Systems
 
Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...
Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...
Ubiquitous Angels; ambient sensor networks to crowd source crisis response an...
 
E3 chap-05
E3 chap-05E3 chap-05
E3 chap-05
 
aOS Moscow - E1 - Bots and language understanding - Rick van Rousselt
aOS Moscow - E1 - Bots and language understanding - Rick van RousseltaOS Moscow - E1 - Bots and language understanding - Rick van Rousselt
aOS Moscow - E1 - Bots and language understanding - Rick van Rousselt
 
NLP.ppt
NLP.pptNLP.ppt
NLP.ppt
 

Dernier

(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.soniya singh
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLimonikaupta
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 

Dernier (20)

(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 

Chatbots

  • 2. Introduction Chatbots provide a natural language interface to their users
  • 3. Eugene Goostman Google AI chatbot Facebook AI develops own language Microsoft’s Tay
  • 4. The Good of Chatbots Message platforms are everywhere Simple, known interface Applicable to many situations 63% of the people are willing to communicate through chatbots[1] [1]: https://venturebeat.com/2017/06/17/the-good-the-bad-and-the-ugly-of-chatbots/ avaamo.com
  • 5. Introduction: the Bad of Chatbots 73% won’t use the chatbot again after a bad experience[1] 75% want to know it is a bot[1] 50% are disturbed when a bot pretends to be human[1] Not all languages are equally supported [1]: https://venturebeat.com/2017/06/17/the-good-the-bad-and-the-ugly-of-chatbots/ steemit.com/@resteemitnow
  • 6. Natural Language Processing NLG Natural Language Generation Data => ‘Natural’ text Easy NLU NLG Natural Language Understanding Natural Language Generation Natural text to structured data Data to natural text Hard Easy
  • 7.
  • 8. Types of Chatbots Easy FAQ Form Hard Complex Conversation Within Domain Smart Home, Basic Customer Service, Basic Information Adv. Customer Service (Advanced FAQ + Form) String Distance Conversation Flow Matching Commands And Arguments Conversation Context Conversation Flow + Commands Advanced Information Database Access + Filter Matching
  • 9. FAQ / Simple Information Lookup • User: asks questions • Chatbot: gives answers • Easy to build • No machine learning
  • 10. Guided Conversation / Form • Chatbot asks questions • User answers • Slightly harder • machine learning -> extract entities
  • 11. Information Lookup • Database access through conversation • User asks questions or gives commands • Chatbot gives answers, asks questions back • Difference with FAQ: Context and Entity resolution
  • 12. Smart Home / Simple Information Lookup • Perform tasks • User tells Chatbot what to do • Chatbot answers/confirms/asks follow-up questions
  • 13. Types of Chatbots: Personal Assistant • Collection of other chatbots • Redirects actions/questions to ‘sub’ chatbots • Seamless integration between different chatbots • e.g. Google Assistant, Siri, ...
  • 15. Common Concepts: Intents • Phrases get mapped to intents • Function calls on the chatbot →entities are arguments • Often a function in back-end
  • 16. Common Concepts: Entities • Building blocks of the conversation • Entities are passed to back-end • e.g:
  • 17. Common Concepts: Entities - Example • “number” entity → mapped to 3 • Request 3 of something from back-end
  • 18. Common Concepts: Entities - Example • “Movies” → “requested” entity • Request movies from back-end
  • 19. Common Concepts: Entities - Example • “person” entities • Passes persons as arguments
  • 20. Common Concepts: Entities - Example • “with_actors” composite entity • Passes list of persons as “actors” argument
  • 21. Common Concepts: Context • Context = entities from previous phrases & replies ● pagination ○ “three more please” ● changing part of the query ○ “who played in <movie>?” ○ “who directed it?” ● follow-up
  • 22. Common Concepts: Prompts •Prompt when missing required entities •e.g.: • User: “What’s the weather for today?” • Weatherbot: “For what city?”
  • 23. Common Concepts: Follow-up / Flows •Follow-up questions guide users into Flows •Example •InsureBot: “What brand of car?” •User: “<car brand>” •InsureBot: “What year was the car made?” •…
  • 24.
  • 25. Technologies Amazon Facebook Google IBM Microsoft Oracle VPA Amazon Echo line - Google Home line - Cortana, Integration with Amazon Alexa Oracle Voice (ios app store) Dev Platform Alexa Voice Services, Alexa Skills Kit RESTful wit.ai backend Dialogflow IBM BlueMix Windows Oracle Mobile Cloud Services Speech Synthesis API Polly (+SSML) - unnamed (+SSML) Watson Text To Speech (Bluemix) Bing Speech API (+SSML) Nuance (paywall) NLU Lex wit.ai Dialogflow Conversation API LUIS.ai Nuance (paywall) Bot Creation Interface with Echo line Interface with Facebook Chat One-click Integration in multiple platforms BlueMix MS Bot Framework Graphical UI Free? Yes Yes Dialogflow: Yes Google cloud: Limited Yes (Limited) Yes (Limited) No Dutch? No Limited Limited Yes (Beta) Yes End 2017
  • 27. •Lower Level libraries allow you to fine-tune (e.g. in python): • spaCy • nltk • polyglot • dateparser DIY with Python
  • 28. Natural Language Processing Natural Language Understanding: Hard Need a lot of training data Get semantic and entities from a sentence Create structured data from unstructured natural text Natural Language Generation: Easy Create file with template sentences and insert entities Add randomness
  • 30.
  • 32. Confirmation •Stating the confirmation is fine for inconsequential mistakes: •“What’s the weather for Memphis for next sunday?” •“The weather for Memphis, Egypt for October 15th is …” •“Cancel. What’s the weather for Memphis, Tennessee?”
  • 33. Confirmation •Asking for confirmation is better when there’s money on the line: •“Book a flight for Memphis for tomorrow.” •“Do you want me to book a flight for Memphis, Egypt on Thursday the 12th of October?” •“No, book a flight for Memphis, Tennessee.”
  • 34. Confirmation •Pick between choices: •“Call Ellen” •“Do you mean Ellen X or Ellen Y?” •“Ellen Y”
  • 35. Buttons •for questions with clear options •with buttons: ● users are reassured they’ll be understood ● users see all possibilities ● users can do nothing wrong
  • 36. Openness •Let Users Know it’s a Bot •Bots are imperfect, users know and forgive •Bots are limited, users adapt and stay on topic •Users trust you/your bot, disguised bots break that trust
  • 37. Redirect to Human •Why? •people will go beyond the bot’s capabilities and require human support •When? •complicated question, not covered in FAQ •complaints •on request •How? •low traffic: contact form may suffice •high traffic: replace bot with human in same interface
  • 38. Design Considerations •Design considerations based on goal: ● Strict, down-to-business ● Informal with slang and jokes ● Voice interface
  • 39. Design Considerations: Voice Interface Bad No buttons or images Mispronunciation Not private Pros Cons Wow-factor No buttons or images Hands-free Mispronounciations Faster than typing Not private
  • 40. Testing • Write recurrent test for your service • API’s are young and prone to change • Ensure proper working • Notify if test are broken
  • 41. Conclusion: Future ● NLU improvement ○ Speed ○ Accuracy ○ Language coverage ● More used by Businesses ● More accepted by Users