39

How Do Chatbots Work? with Alex Masycheff

Embed Size (px)

Citation preview

#idw2017

How Do Chatbots Work?

Presenter: Alex Masycheff, CEO, Intuillion

#idw2017

Agenda

• Why context is required• How chatbots understand user requests

and find content • How to make content chatbot-friendly

#idw2017

Bring Me Something to Eat...

#idw2017

Bring Me Something to Eat...

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

#idw2017

Context-Driven Content

Content

GoalsActivity

Profile

Product

Location

History

#idw2017

Capturing ContextCaptured automatically

Require a conversation

Context

#idw2017

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

#idw2017

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

I want to make an omelet

#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?

#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

#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?

#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

#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:...

#idw2017How a Chatbot Sees User’s Questions

I want to make an

with hamomelet and cheese

Intent

Entities

I’m a beginner

#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?

#idw2017

Filling Slots

I want to make an

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

#idw2017

#idw2017

Defining Entities

#idw2017

Conversation

#idw2017

Conversation

#idw2017

Conversation

#idw2017

Conversation

#idw2017

Structural Representation of User’s Context

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

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

#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.

#idw2017

Artificial Intelligence?

#idw2017

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

#idw2017

Multiple Outputs

#idw2017

Context Is Granular

Pro

Regular

Omelet

I’m...

Tomatoes

Want to make a...

Fruit Salad

Ice Cream

With...

Ham

Cheese

#idw2017

Granular Content

Stand-alone, reusable, format independent pieces of content

#idw2017

Granular Content Omelet recipe

#idw2017

Granular Content Fruit salad recipe

#idw2017

Metadata

Pro

Regular

Omelet

User Type

Tomatoes

Meal

Fruit Salad

Ice Cream

Extras

Ham

Cheese

#idw2017

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

#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.

#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”}

#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

#idw2017

Website: http://www.intuillion.com

Email: [email protected]

Contact Me

LinkedIn Group: DITAToo Community