You are on page 1of 17

Developing

a Chatbot
using
Machine
Learning
Contents
• Problem Statements • Project Features
• What is Opinion Mining • Software Required
• Goals & Objectives • Advantages
• Introduction • Challenges
• Literature Survey • Applications
• Proposed Architecture • Conclusion
• Methodology • References
Problem Statement
To Develop natural language processing (NLP) and Machine learning
based multilingual chatbot which understands and speaks several
languages during a conversation.
What is chatbot
A chatbot is an intelligent piece of software
that can communicate and performing actions
like a human. Chatbots are used a lot in
customer interaction, marketing on social
network sites and instantly messaging the
client. There are two basic types of chatbot
models based on how they are built; Retrieval
based and Generative based models.
Goals & Objectives
 To build a Chatbots that is used to provide customer support.
 It helps in catering a huge amount of target audience at the same
time 24/7.
 To develop a system that helpful for businesses to pay more
attention to handle millions of customers at same time.
Introduction
In recent years, the development of chatbot has become trendier and so far, several
conversational chatbots were designed which replaces the traditional chatbots. A
chatbot is a computer program which is used to interact with humans and fulfill their
needs. Chatbot gives the response for the user query and sometimes they can execute
tasks also. Early development of chatbots became so difficult whereas recent chatbots
development is much easier because of the wide availability of development platforms
and source code. A chatbot can be developed using either Natural Language
Processing (NLP) or Deep Learning. When compared to traditional chatbots, bots
designed using Deep Learning requires huge amount of data to train.
Literature Survey
 Chatbots: Are They Really Useful?, Author: Bayan Abu Shawar, Eric Atwell - The paper is basically focused on an
academic paper highlighting some case studies and including a brief history of chatbots that extends back to the earliest
experiments such as ELIZA (c. 1966). The paper is based on making a chatbot using AIML patterns with ALICE.

 A Web-based Platform for Collection of Human Chatbot Interactions, Author: Lue Lin, Luis Fdo. D’Haro, and Rafael
Banchs - The paper presents a chatbot design which is work on the web-based framework. Lue Line, Luis Fernando
D’Haro and Rafael E. Banchs in HAI 2016 proposed the Web Chat which was a crowd-sourced initiative that could
collect and annotate human chatbot interactions.

 The anatomy of ALICE, Author: Wallace, Richard S. - In this paper, Dr. Richard S. Wallace proposed the technical
presentation of Artificial Linguistic Internet Computer Entity (A.L.I.C.E.) as well as Artificial Intelligence Markup
Language (A.I.M.L.), which are set in the background by philosophical and historical ruminations occurring on human
consciousness.
Proposed Architecture
Methodology
 In this Python project with source code, we are going to build a chatbot using
deep learning techniques.
 The chatbot will be trained on the dataset which contains categories (intents),
pattern and responses.
 We use a special recurrent neural network (LSTM) to classify which category the
user’s message belongs to and then we will give a random response from the list
of responses.
 The dataset we will be using is ‘intents.json’. This is a JSON file that contains the
patterns we need to find and the responses we want to return to the user.
Project Features

PRE-PROCESSING IS FAST AND HIGH AI AND ML IS USED ALLOWS MUCH LISTEN TO YOUR
DONE TO IMPROVE ACCURACY. TO IMPROVE THE MORE DETAILED USER/CUSTOMERS IN
ACCURACY OF DATA. ACCURACY OF SENTIMENT ANALYSIS REAL TIME AND
SYSTEM. ON EACH ENTITY MAKE DATA-BASED
DECISIONS ON THE
GO.
Software required
 Programming language – Python(For Developing API)
 Libraries – TensorFlow, NLTK, Keras, Python
 Tool – Python IDLE
 Other - JSON
Advantages
Increased customer satisfaction ratings

Cost efficiencies

Superior customer experience

24x7

collect customer feedback


Challenges
 Users' way of texting
 Limitations of NLP
 Randomness of being a human
 Limited attention span
Applications
 Purchasing Product or Service
 Marketing Research
 Customer Support
 Book Tickets To Events
 Decision Making
 Check Inventory
 Return and Exchange Requests
Conclusion
In this project, we have introduced a chatbot that is able to interact with users. This chatbot can
answer queries in the textual user input. For this purpose, AI/ML has been used. The chatbot can
answer only those questions which he has the answer in its AI/ML dataset. So, to increase the
knowledge of the chatbot, we can add the APIs of Wikipedia, Weather Forecasting Department,
Sports, News, Government and a lot more. In such cases, the user will be able to talk and interact
with the chatbot in any kind of domain. Using APIs like Weather, Sports, News and Government
Services, the chatbot will be able to answer the questions outside of its dataset and which are
currently happening in the real world.
References
[1] Bayan Abu Shawar and Eric Atwell, 2007 “Chatbots: Are they Really Useful?”

[2] LDV Forum - GLDV Journal for Computational Linguistics and Language Technology.

[3] http://www.ldv-forum.org/2007_Heft1/Bayan_AbuShawar _and_Eric_Atwell.pdf

[4] Bringing chatbots into education: Towards natural language negotiation of open learner models. Know.- Based Syst. 20, 2 (Mar. 2007), 177-185.

[5] Intelligent Tutoring Systems: Prospects for Guided Practice and Efficient Learning. Whitepaper for the Army's Science of Learning Workshop, Hampton, VA. Aug 1-3, 2006.

[6] http://en.wikipedia.org/wiki/Chatterbot

[7] ALICE. 2002. A.L.I.C.E AI Foundation, http://www.alicebot.org/

[8] Kumar, M Naveen, PC Linga Chandar, A Venkatesh Prasad, and K Sumangali (2016). “Android based educational Chatbot for visually impaired people”. In: International
Conference on Computational Intelligence and Computing Research (ICCIC), 2016 IEEE. IEEE, pp. 1–4.

[9] Ranoliya, Bhavika R, Nidhi Raghuwanshi, and Sanjay Singh (2017). “Chatbot for University Related FAQs”. In: 2017 International Conference on Advances in Computing,
Communications and Informatics (ICACCI). Udupi, pp. 1525–1530.
THANK YOU

You might also like