0% found this document useful (0 votes)
94 views28 pages

Chatbot: An Intelligent Agent For Enterprise Professionals

A document outlines the key aspects of building a chatbot, including using artificial intelligence and natural language processing to power conversational agents. It discusses using RiveScript to define patterns and responses, training chatbots on large datasets, and implementing a desktop application using HTML, CSS, and RiveScript. The document also covers advantages like reduced call times, limitations like needing regular updates, and the conclusion that chatbots are changing businesses by reaching large audiences.

Uploaded by

supriya028
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views28 pages

Chatbot: An Intelligent Agent For Enterprise Professionals

A document outlines the key aspects of building a chatbot, including using artificial intelligence and natural language processing to power conversational agents. It discusses using RiveScript to define patterns and responses, training chatbots on large datasets, and implementing a desktop application using HTML, CSS, and RiveScript. The document also covers advantages like reduced call times, limitations like needing regular updates, and the conclusion that chatbots are changing businesses by reaching large audiences.

Uploaded by

supriya028
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Today, lets look at

Chatbot
An Intelligent Agent for
Enterprise Professionals

1
Created by :

Ishu Abhishek ( Roll no. 21 )


Kajal Kiran (Roll no. 22 )
Kumar Ankit (Roll no. 24)
Table Of Content

▸ AI
▸ Chatbot
▸ Uses
▸ Advantage/Disadvantage
▸ Limitations
▸ Conclusion
What is Artificial Intelligence?

Artificial intelligence (AI) is the intelligence exhibited


by machine is also the name of the
academic field of study how to create
computers and computer software that are capable of
intelligent behavior.
What is it :

▸ A chatter robot (chatbot) is a type of conversational


agent, a computer program designed to simulate an
intelligent conversation with one or more human users
in natural language via auditory or textual methods.

▸ In short, chatbots are virtual assistant programmed to


automatically answer users requests
How do it respond :

1. Looks for certain patterns of words in the user's input.


2. Replies with pre-determined output, if the pattern is matched.
3. Needs to have an idea of what the user will chat
4. Has suitable responses defined in the AIML file
For what use

Customer support Sale and advice Internal support


User account information Make an order, Helpdesk (office
Order tracking and delivery reservation applications, etc)
HR (leave balances, etc)
Product technical support Ask for personalized
advices Practical services (room
Incident report booking…)
Benefits

User satisfaction Simplify employees life

Immediate answers Enhance productivity and operational


effectiveness
Available 24/7
90% correct answers Staff retention

Personalized answers Decrease calls and e-mails to support


Customer autonomy service Resources reallocation on
Innovative customer service value added tasks
Can it answer all questions?
▸ A Chat Bot has a limited number of patterns and responses.
▸ The AIML structure supports regular expressions
▸ In AIML, you can define recursive categories.
▸ The bot may sometimes give funny replies, but that depends on
the AIML spec, i.e. Its brain!
Tools Required for building ChatBot
▸ Visual Studio Code
▸ Natural Language Processing (NLTK)
▸ Latest Browser(Google Chrome)
▸ RiveScript
Data Flow Diagram
How to built your own ChatBot

▸ A Chat Bot represents and models a character.


▸ The brain is the RiveScript file, that defines patterns and corresponding
replies
▸ A bot can be trained to be an Expert System about a special theme – large
data!
▸ Training data
Users query (inputs ) :

▸ Greetings or FAQ queries in natural language (English).


▸ The FAQ queries are restricted to be related to a particular institution,etc..
▸ For instance, the queries can be regarding Professors, Placements, Infrastructures,
Rankings, Grading Statistics ,etc. of a particular institution.
Response(Expected Outputs) :

System responses can be majorly categorized into three types:

▸ 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

▸ Natural language processing ( NLP ) is the ability of a computer program to understand


human speech as it is spoken . NLP is a component of artificial intelligence.
▸ It makes computer to perform useful tasks with the natural language, humans use.
▸ Current approaches to NLP are based on machine learning
▸ The input and output of an NLP system can be –
▹ Speech
▹ Written Text
RIVESCRIPT

▸ RiveScript is a text-based scripting language meant to aid in the


development of interactive chatbots.

▸ 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

Things used to develop Desktop Application for


ChatBot :

▹ HTML and CSS for creating the layout

▹ RiveScript for response


Advantages / Disadvantages

Advantage Disadvantage

▸ Useful in normal interaction ▸ Needs regular updates


▸ Reduced call assistants ▸ Misunderstanding of questions leads
▸ Upgrading responds on ecommerce to improper answer
websites ▸ Need to follow a proper pattern for
its templates
Limitations

▸ Templates are outcome of pre-provided patterns and category.


▸ Need quick updates.
▸ Patterns need to be filled before hand to let the bot fetch similar patterns
▸ Misunderstanding leads to incorrect output
▸ Proper matching of phrases of words are done
Conclusion
From our perspective, chatbots or smart assistants with artificial intelligence are
dramatically changing businesses.
Chatbots can reach out to a large audience on messaging apps and be more
effective than humans.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy