SlideShare a Scribd company logo
1 of 11
Download to read offline
Chatbots: From Simple
to Complex
Peeter Piksarv
Data Scientist @Mooncascade
PyData Tartu Kickoff meetup Monday, 2 April 2018peeter@mooncascade.com
2016: The Year of Chatbots
2017 2018
●
1966 ELIZA
●
1995 A.L.I.C.E.
●
2010 Siri
●
2016 Facebook Messenger platform
Microsoft Bot Framework
Why Chatbots?
●
Automated customer service
●
Personal assistants
●
Messaging platform as an alternative UI
●
Focused tool
●
Games and toys
Examples
●
Siri, Google Assistant, Cortana, Amazon Alexa
●
Microsoft's Xiaolce (Chinese)
●
x.ai Amy -- scheduling assistant
●
DoNotPay -- contesting parking tickets
●
Poncho -- weather forecast bot
NLP Tools for Chatbots
LUIS
IBM Watson Assistant
Amazon Lex
Working Principles
●
Intents
– Mapping of user input
to actions
– min 10-20 example
utterances per intent
●
Context
●
Slots / Entities
– Required information
for current action
– Locations
– Date/time
Where to start?
●
Purpose / use case?
●
Supported languages?
●
Platform? -- limitations and features
●
Data? -- previous (chat) interactions
●
When using external NLP tools, keep your dev-
staging-production-cycle
●
Adding voice support adds extra errors
90%-90%-90% -> 73%
●
Self improvement is tricky to get right
(remember Tay?)
●
Manage expectations, better to start simple!
Personal examples
●
Tune: Slack tunebot
https://help.tune.com/marketing-console/slack-tunebot/
Go, Python, NLP by Dialogflow
●
Merck bot
Internal tool for interacting with Salesforce
MS Bot Framework, LUIS
Reading Materials
●
Chatbots Magazine: chatbotsmagazine.com
●
Chatbot's Life: chatbotslife.com
●
Recast.AI newsletter
●
The UX of Chatbots: uxofchatbots.com
Thank you!

More Related Content

Similar to Chatbots: From Simple to Complex

OK Google, it's time to bot! - Hadar Franco & Stav Levi
OK Google, it's time to bot! - Hadar Franco & Stav LeviOK Google, it's time to bot! - Hadar Franco & Stav Levi
OK Google, it's time to bot! - Hadar Franco & Stav Levi
Hadar Franco
 

Similar to Chatbots: From Simple to Complex (20)

Python in Industry
Python in IndustryPython in Industry
Python in Industry
 
OK Google, it's time to bot! - Hadar Franco & Stav Levi
OK Google, it's time to bot! - Hadar Franco & Stav LeviOK Google, it's time to bot! - Hadar Franco & Stav Levi
OK Google, it's time to bot! - Hadar Franco & Stav Levi
 
Ok google, it's time to bot! - Hadar Franco, Albert + Stav Levi, Monday
Ok google, it's time to bot! - Hadar Franco, Albert + Stav Levi, MondayOk google, it's time to bot! - Hadar Franco, Albert + Stav Levi, Monday
Ok google, it's time to bot! - Hadar Franco, Albert + Stav Levi, Monday
 
Ai chatbot ppt.pptx
Ai chatbot ppt.pptxAi chatbot ppt.pptx
Ai chatbot ppt.pptx
 
🌟Is Learning Python Your Career Game-Changer? 🚀🐍
🌟Is Learning Python Your  Career Game-Changer? 🚀🐍🌟Is Learning Python Your  Career Game-Changer? 🚀🐍
🌟Is Learning Python Your Career Game-Changer? 🚀🐍
 
How AI is going to change the world _M.Mujeeb Riaz.pdf
How AI is going to change the world _M.Mujeeb Riaz.pdfHow AI is going to change the world _M.Mujeeb Riaz.pdf
How AI is going to change the world _M.Mujeeb Riaz.pdf
 
Chat Bots Meetup Talk @Microsoft, Chennai
Chat Bots Meetup Talk @Microsoft, ChennaiChat Bots Meetup Talk @Microsoft, Chennai
Chat Bots Meetup Talk @Microsoft, Chennai
 
Natural Language Processing for Tamil
Natural Language Processing for TamilNatural Language Processing for Tamil
Natural Language Processing for Tamil
 
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdfKono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
 
The Software Challenges of Building Smart Chatbots - ICSE'21
The Software Challenges of Building Smart Chatbots - ICSE'21The Software Challenges of Building Smart Chatbots - ICSE'21
The Software Challenges of Building Smart Chatbots - ICSE'21
 
Lessons learned from building a commercial bot development platform
Lessons learned from building a commercial bot development platformLessons learned from building a commercial bot development platform
Lessons learned from building a commercial bot development platform
 
Let's Build a Chatbot!
Let's Build a Chatbot!Let's Build a Chatbot!
Let's Build a Chatbot!
 
Gdc14 gda follow up seminar 20140518 fabio
Gdc14 gda follow up seminar 20140518 fabioGdc14 gda follow up seminar 20140518 fabio
Gdc14 gda follow up seminar 20140518 fabio
 
A Comprehensive Overview of Python in Real-World Scenarios
A Comprehensive Overview of Python in Real-World ScenariosA Comprehensive Overview of Python in Real-World Scenarios
A Comprehensive Overview of Python in Real-World Scenarios
 
Art of artificial intelligence and automation
Art of artificial intelligence and automationArt of artificial intelligence and automation
Art of artificial intelligence and automation
 
MuleSoft + Augmented Reality & ChatGPT
MuleSoft + Augmented Reality & ChatGPTMuleSoft + Augmented Reality & ChatGPT
MuleSoft + Augmented Reality & ChatGPT
 
Bot design AIsatPN 2018
Bot design AIsatPN 2018Bot design AIsatPN 2018
Bot design AIsatPN 2018
 
Flutter not yet another mobile cross-platform framework - i ox-kl19
Flutter   not yet another mobile cross-platform framework - i ox-kl19Flutter   not yet another mobile cross-platform framework - i ox-kl19
Flutter not yet another mobile cross-platform framework - i ox-kl19
 
Messengers, Bots and Personal Assistants
Messengers, Bots and Personal AssistantsMessengers, Bots and Personal Assistants
Messengers, Bots and Personal Assistants
 
Data Science Week 2016. Inten.to. "Мессенджеры и персональные ассистенты"
Data Science Week 2016. Inten.to. "Мессенджеры и персональные ассистенты"Data Science Week 2016. Inten.to. "Мессенджеры и персональные ассистенты"
Data Science Week 2016. Inten.to. "Мессенджеры и персональные ассистенты"
 

Recently uploaded

Recently uploaded (20)

WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
Effective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConEffective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeCon
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 

Chatbots: From Simple to Complex

  • 1. Chatbots: From Simple to Complex Peeter Piksarv Data Scientist @Mooncascade PyData Tartu Kickoff meetup Monday, 2 April 2018peeter@mooncascade.com
  • 2. 2016: The Year of Chatbots 2017 2018 ● 1966 ELIZA ● 1995 A.L.I.C.E. ● 2010 Siri ● 2016 Facebook Messenger platform Microsoft Bot Framework
  • 3. Why Chatbots? ● Automated customer service ● Personal assistants ● Messaging platform as an alternative UI ● Focused tool ● Games and toys
  • 4. Examples ● Siri, Google Assistant, Cortana, Amazon Alexa ● Microsoft's Xiaolce (Chinese) ● x.ai Amy -- scheduling assistant ● DoNotPay -- contesting parking tickets ● Poncho -- weather forecast bot
  • 5. NLP Tools for Chatbots LUIS IBM Watson Assistant Amazon Lex
  • 6. Working Principles ● Intents – Mapping of user input to actions – min 10-20 example utterances per intent ● Context ● Slots / Entities – Required information for current action – Locations – Date/time
  • 7. Where to start? ● Purpose / use case? ● Supported languages? ● Platform? -- limitations and features ● Data? -- previous (chat) interactions
  • 8. ● When using external NLP tools, keep your dev- staging-production-cycle ● Adding voice support adds extra errors 90%-90%-90% -> 73% ● Self improvement is tricky to get right (remember Tay?) ● Manage expectations, better to start simple!
  • 9. Personal examples ● Tune: Slack tunebot https://help.tune.com/marketing-console/slack-tunebot/ Go, Python, NLP by Dialogflow ● Merck bot Internal tool for interacting with Salesforce MS Bot Framework, LUIS
  • 10. Reading Materials ● Chatbots Magazine: chatbotsmagazine.com ● Chatbot's Life: chatbotslife.com ● Recast.AI newsletter ● The UX of Chatbots: uxofchatbots.com