How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing...

19
How to build your own Chatbot By : Ajita Jain Himani Garg

Transcript of How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing...

Page 1: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

How to build your own Chatbot

By :

Ajita Jain Himani Garg

Page 2: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Agenda

1. What is Chatbot?

2. Applications of Chatbot

3. Intuit BenTen

4. Design your Chatbot

5. Build your Chatbot

6. Chatbot Fundamentals

7. Natural Language Processing (NLP)

8. Bot Assessment

9. Problems with Chatbots

10. Create your own bot with Amazon Lex and deploy to Facebook Messenger [ WORKSHOP ]

Page 3: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

What is Chatbot?

Page 4: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Applications of Chatbot

Page 5: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Customer Support

Virtual AssistantAutomated Travel Service

Page 6: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Travel Planner Hotel ReservationsShopping

Page 7: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Intuit BenTenEvery Engineer’s Personal Assistant

Page 8: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Design your Chatbot

Channels

Third Party Services

Bot

NLP Engine

Page 9: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Build your Chatbot

� Identify the right use case�Choose the right platform�Error Handling�Build and publish your chatbot�Human handover

Page 10: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Chatbot Fundamentals

Page 11: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Natural language Processing (NLP)

� Natural Language refers to the way we, humans communicate with each other.

� Interactions between human language and computers is done using Natural Language Processing (NLP).

� NLP is a way for computers to analyse, understand, and derive meaning from human language in a smart and useful way.

Page 12: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Bot Assessment

�Turing Test�Average time to respond�Conversion Rate

Page 13: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Problems with Chatbots

Page 14: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Problems with Chatbots

� Majority of the chatbots are based on decision-tree logic, where the responses depend on specific keywords present in the user’s input.

� Majority of chatbots cannot understand context.

� Lack of human escalation protocols

� Designing conversational interfaces are a challenge as compared to making a user interface.

Page 15: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Create your own bot with Amazon Lex and deploy to Facebook Messenger

Page 16: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human

Flow of our Chatbot

Facebook Messenger

App

Callback URL

Facebook Page

Alias

Channel

App secret key Page Access Token

Tag

Bot

Page 17: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human
Page 18: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human
Page 19: How to build your own Chatbot - Electronics For You€¦ · using Natural Language Processing (NLP). NLP is a way for computers to analyse, understand, and derive meaning from human