Chatbots
Unit 2, Module 2.7
1
Module Objectives
Students should be able to:
2
What is a chatbot? Is it a virtual assistant? (No.)
Chatbots are designed to have conversations with you.
Virtual assistants such as Siri or Alexa don’t usually engage in lengthy dialogs the way chatbots do.
3
Different Types of Chatbot
Customer service chatbots answer frequently asked questions such as:
Sales chatbots help you find the product you want and submit an order.
Entertainment chatbots converse with you to tell a story or present a fictional character.
4
Customer
Service Chatbot
5
Dominos Ordering Chatbot
6
Building a Chatbot
7
Strategies for Building a Chatbot
Technique: keyword matching
Useful for: answering common questions
8
Strategies for Building a Chatbot
Technique: template filling
Useful for: constructing an order or reservation
9
Strategies for Building a Chatbot
Technique: intent recognition
Useful for: flexible interaction, avoiding the need to use specific keywords
10
Strategies for Building a Chatbot
Technique: story snippets
Useful for: an entertainment chatbot telling you a character’s story, such as Rose.
11
Little Red Riding Hood: Biography
Real name: Blanchette
Age: 10
Favorite color: red
Likes: animals, cake, colorful clothes
Favorite things to do: dancing, singing,� walking in the woods
Favorite relative: grandmother
12
Little Red Riding Hood: Story Snippets
13
I set out for my grandmother’s house.
Along the way I met a huge wolf.
My grandmother was sick and I was bringing her a cake.
The wolf asked me where I was going.
I told him I was going to visit my sick grandmother.
He seemed wary of some woodcutters nearby.
Try It: Unplugged Activity: Design a chatbot
14
Take-away Lessons on Chatbots
Chatbots have limited understanding of language -- just enough to be useful.
Intent recognition makes a chatbot seem more flexible and human-like, but it’s still using a fixed, pre-defined set of intents.
Many companies are now using chatbots for customer service, with varying success.
There are multiple companies developing chatbot software and offering to create custom chatbots for businesses.
Walmart bought a chatbot company in 2021.
15
Optional Videos & Activities & Discussions
16
17
Video: Chatbots - Brief Overview and History
https://youtu.be/fOvTtapxa9c?t=221
Start 3:40, End 5:28
18
Takeaways: Chatbots Video
19
you what you said to them.
Eliza - Therapist Chatbot
Try It #3: Talk with of other chatbots
Step #1: Pick a chatbot to talk with
Step #2: Talk with the chatbot
Copy and paste conversation here
Step #3: Reflect
20
TPS Discussion
What sort of questions did you ask the chatbot?
Did it answer in a way that made sense?
What wasn’t it able to do?
Does it seem like AI? Why or why not?
21