Top Banner
39

How Do Chatbots Work? with Alex Masycheff

Jan 22, 2018

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How Do Chatbots Work? with Alex Masycheff
Page 2: How Do Chatbots Work? with Alex Masycheff

#idw2017

How Do Chatbots Work?

Presenter: Alex Masycheff, CEO, Intuillion

Page 3: How Do Chatbots Work? with Alex Masycheff

#idw2017

Agenda

• Why context is required• How chatbots understand user requests

and find content • How to make content chatbot-friendly

Page 4: How Do Chatbots Work? with Alex Masycheff

#idw2017

Bring Me Something to Eat...

Page 5: How Do Chatbots Work? with Alex Masycheff

#idw2017

Bring Me Something to Eat...

Page 6: How Do Chatbots Work? with Alex Masycheff

#idw2017I Want XXL Chicago Stuffed Pizza with a Lot of Tomatoes and Double Cheese

Page 7: How Do Chatbots Work? with Alex Masycheff

#idw2017

Context-Driven Content

Content

GoalsActivity

Profile

Product

Location

History

Page 8: How Do Chatbots Work? with Alex Masycheff

#idw2017

Capturing ContextCaptured automatically

Require a conversation

Context

Page 9: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

Page 10: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

I want to make an omelet

Page 11: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

I want to make an omelet

Sounds good. What are your cooking skills? Are you a pro chef or a beginner?

Page 12: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

I want to make an omelet

Sounds good. What are your cooking skills? Are you a pro chef or a beginner?

I’m a beginner

Page 13: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

I want to make an omelet

Sounds good. What are your cooking skills? Are you a pro chef or a beginner?

I’m a beginner

Do you want an omelet with some extras: ham, cheese, or tomatoes?

Page 14: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

I want to make an omelet

Sounds good. What are your cooking skills? Are you a pro chef or a beginner?

I’m a beginner

Do you want an omelet with some extras: ham, cheese, or tomatoes?

Ham and cheese

Page 15: How Do Chatbots Work? with Alex Masycheff

#idw2017

Possible ConversationHi, I’m your recipe chatbot. Whatwould you like to cook?

I want to make an omelet

Sounds good. What are your cooking skills? Are you a pro chef or a beginner?

I’m a beginner

Do you want an omelet with some extras: ham, cheese, or tomatoes?

Ham and cheese

OK, here’s the recipe:...

Page 16: How Do Chatbots Work? with Alex Masycheff

#idw2017How a Chatbot Sees User’s Questions

I want to make an

with hamomelet and cheese

Intent

Entities

I’m a beginner

Page 17: How Do Chatbots Work? with Alex Masycheff

#idw2017

Filling Slots

I want to make an

omelet ?? ?Do you want ham? Do you want cheese? Are you a pro chef or a

beginner?

Page 18: How Do Chatbots Work? with Alex Masycheff

#idw2017

Filling Slots

I want to make an

omelet and cheese I’m a beginner?Do you want ham?

Page 19: How Do Chatbots Work? with Alex Masycheff

#idw2017

Page 20: How Do Chatbots Work? with Alex Masycheff

#idw2017

Defining Entities

Page 21: How Do Chatbots Work? with Alex Masycheff

#idw2017

Conversation

Page 22: How Do Chatbots Work? with Alex Masycheff

#idw2017

Conversation

Page 23: How Do Chatbots Work? with Alex Masycheff

#idw2017

Conversation

Page 24: How Do Chatbots Work? with Alex Masycheff

#idw2017

Conversation

Page 25: How Do Chatbots Work? with Alex Masycheff

#idw2017

Structural Representation of User’s Context

{“Intent”: “Omelet”,“UserType”: “Beginner”

“Extras_Tomatoes”: “Yes”,“Extras_Ham”: “Yes”,“Extras_Cheese”: “No”}

Page 26: How Do Chatbots Work? with Alex Masycheff

#idw2017

Mapping Context to Content

{“Intent”: “Omelet”,“UserType”: “Beginner”

“Extras_Tomatoes”: “Yes”,“Extras_Ham”: “Yes”,“Extras_Cheese”: “No”}

1.2.3.4.5.

6.

7.

Page 27: How Do Chatbots Work? with Alex Masycheff

#idw2017

Artificial Intelligence?

Page 28: How Do Chatbots Work? with Alex Masycheff

#idw2017

“The Pope's Baby Steps on Gays”Time magazine

Page 29: How Do Chatbots Work? with Alex Masycheff

#idw2017

Multiple Outputs

Page 30: How Do Chatbots Work? with Alex Masycheff

#idw2017

Context Is Granular

Pro

Regular

Omelet

I’m...

Tomatoes

Want to make a...

Fruit Salad

Ice Cream

With...

Ham

Cheese

Page 31: How Do Chatbots Work? with Alex Masycheff

#idw2017

Granular Content

Stand-alone, reusable, format independent pieces of content

Page 32: How Do Chatbots Work? with Alex Masycheff

#idw2017

Granular Content Omelet recipe

Page 33: How Do Chatbots Work? with Alex Masycheff

#idw2017

Granular Content Fruit salad recipe

Page 34: How Do Chatbots Work? with Alex Masycheff

#idw2017

Metadata

Pro

Regular

Omelet

User Type

Tomatoes

Meal

Fruit Salad

Ice Cream

Extras

Ham

Cheese

Page 35: How Do Chatbots Work? with Alex Masycheff

#idw2017

Metadata • Mean: Omelet • User Type: Beginners• Extras: ham, cheese

Page 36: How Do Chatbots Work? with Alex Masycheff

#idw2017

Granular Content Within Topics

Steps for Pro on pre-cooking tomatoes

1.

2.3.

4.5. Step for Pro only

6. Step on adding ham

7.

Page 37: How Do Chatbots Work? with Alex Masycheff

#idw2017

Matching Context to Content

Matching Engine

Meal: Omelet

UserType: Pro

Extras: Ham, Cheese

Meal: Omelet

UserType: Beginner

Extras: Tomatoes

Meal: Ice Cream

UserType: Intermediate

Extras: Chocolate

{“Intent”: “Omelet”,“UserType”: “Beginner”

“Extras_Tomatoes”: “Yes”,“Extras_Ham”: “Yes”,“Extras_Cheese”: “No”}

Page 38: How Do Chatbots Work? with Alex Masycheff

#idw2017

Summary

• Plan the conversation to identify intents and entities• Content needs to be enriched with semantic

markup and metadata• Content granularity need to match user’s

context granularity• Metadata needs to match user’s context

Page 39: How Do Chatbots Work? with Alex Masycheff

#idw2017

Website: http://www.intuillion.com

Email: [email protected]

Contact Me

LinkedIn Group: DITAToo Community