sebastian witalec senior developer ......for how many people? 12 challenge #2 no understanding of...

33
A CHATBOT CRASH COURSE SEBASTIAN WITALEC SENIOR DEVELOPER ADVOCATE @SEBAWITA 1

Upload: others

Post on 08-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

A CHATBOT CRASH COURSESEBASTIAN WITALEC SENIOR DEVELOPER ADVOCATE @SEBAWITA

�1

Page 2: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

AGENDA FOR TODAY

▸ What do chatbots eat?

▸ Do chatbots have dreams?

▸ Why chatbots?

▸ What are the usual chatbot challenges?

▸ Let’s build a chatbot - do try it at home

▸ Ask questions as we go => Rob is here

�2

Page 3: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

What do chatbots eat?

Every 6 years old

�3

Page 4: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

PIZZAWHAT ELSE IS BETTER THAN? �4

Page 5: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

Do chatbots have dreams?

Rick Deckard Blade Runner

�5

Page 6: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

THEY DREAM OF ELECTRIC SHEEPYES, THEY DO

�6

Page 7: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

Why Chatbots?

The voice on the back of your head

�7

Page 8: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

COMMUNICATION �8

Page 9: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

TEXT MESSAGING > TALKING �9

Page 10: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

BENEFITS

▸ Improved customer service

▸ Reduce the common reception/call centre pain points

▸ 24/7

▸ Great at handling repetitive tasks

▸ Speed of communication

▸ Access to the data

�10

Page 11: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

What are the usual chatbot challenges?

Every smart developer

�11

Page 12: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #1

FIXED DECISION TREES

Majority of chatbots today force users to navigate a decision tree built by developers. There is no way for a user to say things concerning previous steps or change his intent midway through the conversation.

I want to book a flight to London for Wednesday.

Sure, where do you want to go?

London

When?

On Wednesday

Sorry, I didn’t get that. When?

31.10.2018

For how many people?

�12

Page 13: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #2

NO UNDERSTANDING OF BUSINESS ENTITIES

Your chatbot should be able to understand common entities such as: Doctors, Offices, or Categories using natural language and return the object equivalent for these from your own business systems.

I want to meet with Dr. Burke on Tuesday.

I am not sure I understand you.

�13

Page 14: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #2

NO UNDERSTANDING OF BUSINESS ENTITIESI want to meet with Dr. Burke

on Tuesday.

What time do you want to meet Dr. John Burke on Tuesday?

�14

Page 15: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #3

LACK OF PROPER ACKNOWLEDGMENTS

Ensure that your chatbot communicates back the information it has identified during a conversation. Don’t leave your users to guess where they are in the process.

Hi, I would like to sign up for a health insurance for a ski trip to Italy from March 6 to March 9.

What is your age?

Are you sure you got my info?

�15

Page 16: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #3

LACK OF PROPER ACKNOWLEDGMENTS

Ensure that your chatbot communicates back the information it has identified during a conversation. Don’t leave your users to guess where they are in the process.

Hi, I would like to sign up for a health insurance for a ski trip to Italy from March 6 to March 9.

A trip to Italy is always a good idea.

Let’s find you an insurance from 2018.03.06 to 2018.03.09.

What is your age?

�16

Page 17: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #4

DEALING WITH AMBIGUITIES

Ambiguities are common in everyday language and you have to be prepared to deal with them when building chatbots.

I talked to Dr. Burke, and he told me to book an

appointment with Dr. Alcutt?

Sure, when would you like to see Dr. John Burke?

No, no, no. I want to see Dr. Alcutt?

�17

Page 18: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #4

DEALING WITH AMBIGUITIES

Ambiguities are common in everyday language and you have to be prepared to deal with them when building chatbots.

I talked to Dr. Burke, and he told me to book an

appointment with Dr. Alcutt?

Can you please clarify which doctor do you want to see?

Dr. John Burke Dr. Ali Alcutt

�18

Page 19: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #5

NO LONG-TERM MEMORY

Chatbots are most suitable to automate repetitive business processes for users. The expectation is that a chatbot learns your preferences over time.

Hi, it is me again. Can you book me an

appointment with Dr. Burke on Tuesday at 11:00?

Absolutely. Let’s book you an appointment with Dr. John Burke

on 2018.10.30 at 11 AM.

What is your phone number?

Don’t you have it already?

�19

Page 20: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #5

NO LONG-TERM MEMORY

Chatbots are most suitable to automate repetitive business processes for users. The expectation is that a chatbot learns your preferences over time.

Hi, it is me again. Can you book me an

appointment with Dr. Burke on Tuesday at 11:00?

Absolutely. Let’s book you an appointment with Dr. John Burke

on 2018.10.30 at 11 AM.

Is your phone number still 020 7925 0918?

Yes No

�20

Page 21: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #6

USE OF CONVERSATIONAL UI

It’s always best to enable users to quickly select an option when there are a few predefined options. If you are building your own webchat or mobile chat, you have to incorporate these Conversational UI on your own.

Can you book me an appointment with Dr. Burke on

Tuesday?

What time?

I understand that you want to meet with Dr. John Burke.

12:00

Sorry Dr. John Burke is busy at 12:00.

What time?

This is going to take a while.

Sorry, didn’t get that.

�21

Page 22: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

CHALLENGE #6

USE OF CONVERSATIONAL UI

It’s always best to enable users to quickly select an option when there are a few predefined options. If you are building your own webchat or mobile chat, you have to incorporate these Conversational UI on your own.

Can you book me an appointment with Dr. Burke on

Tuesday?

I understand that you want to meet with Dr. John Burke.

Here are the available times for 2018.10.30:

11:00 15:00 15:30

�22

Page 23: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

Easy, right?

Sebastianobot

�23

Page 24: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

�24

Page 25: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

�25

Page 26: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

DEMO�26

Page 27: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

DEMO�27

🤖

Page 28: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

What do you think?

@sebawita

�28

Page 29: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

Cooo

ol😍

😎 🤩

�29

Page 30: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

WHERE TO GO NEXT?

‣ Website: www.progress.com/kinvey/chat ‣ Tutorial: www.progress.com/kinvey/chat/chatbot-tutorial‣ Developers playground: bots.kinvey.com ‣ Docs: docs.nativechat.com‣ Case Study: www.progress.com/customers/doctor-shterev-hospital ‣ Demo project: github.com/sebawita/master-chef

�30

📸 Take picture now 📸

Page 31: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

NO ELECTRIC SHEEP WERE HURT IN THE MAKING OF

THIS PRESENTATION

�31

Page 32: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

Q&A @SEBAWITA

�32

Page 33: SEBASTIAN WITALEC SENIOR DEVELOPER ......For how many people? 12 CHALLENGE #2 NO UNDERSTANDING OF BUSINESS ENTITIES Your chatbot should be able to understand common entities such as:

Than

k You�33