Chatbot: An Intelligent Agent For Enterprise Professionals
Chatbot: An Intelligent Agent For Enterprise Professionals
Chatbot
An Intelligent Agent for
Enterprise Professionals
1
Created by :
▸ AI
▸ Chatbot
▸ Uses
▸ Advantage/Disadvantage
▸ Limitations
▸ Conclusion
What is Artificial Intelligence?
▸ Niceties: Polite social responses with respect to greetings from the user.
▸ Domain Specific responses: Responses closely satisfying the user queries.
▸ Apologetic responses: Responses meant to convey inability to retrieve requested
information.
Approach
We will be using HTML and JavaScript as along with RiveScript to do pattern matching
for response selection.
Following are the two phases in execution of our Enquiry System:
▸ Training Phase
1. We will be using natural language processing library NLTK to process raw queries
(training set) and convert them into a set of synonymous words (reduced query). This
in short describes the context/concept of the query. The golden rule applies, more
data, better results.
Approach
▸ Pattern Matching Phase:
▸ User’s input will be again broken down to a reduced query using NLP and we will use
RiveScript files to generate phase 1 to find the closest possible pattern existing in our
database for which the answer is known.
▸ If such pattern exists we will output the information retrieved from the database or
otherwise we will just try to stall the conversation to keep the user interested or
apologize for the inability to answer.
Natural Language Processing
▸ RiveScript code is really simple. Each line of the text file is a separate entity
(RiveScript is a line-based scripting language).
Elements of RiveScript
a) Version
! Version = 2.0
+ Hello Bot!
b) Query
+ Hello Human.
c) Response
Implementation
Implemented a desktop application for ChatBot
Advantage Disadvantage