0% found this document useful (0 votes)
141 views4 pages

Chatbot: A Chatbot Is An Automated System Designed To Initiate A Conversation With Humen Users

A chatbot is an automated system that initiates conversations with human users. The earliest chatbot, ELIZA, was created in 1966 using only 200 lines of code to imitate a psychotherapist. Chatbots use artificial intelligence and machine learning algorithms to understand natural language, process conversations by extracting information, and respond contextually. Rule-based chatbots respond based on programmed rules while machine learning chatbots can handle more complex conversations by learning from previous interactions. Popular libraries for building chatbots include NLTK, ChatterBot, and Rasa. Front-end technologies include HTML and JavaScript while Python is commonly used for natural language programming on the back-end.

Uploaded by

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

Chatbot: A Chatbot Is An Automated System Designed To Initiate A Conversation With Humen Users

A chatbot is an automated system that initiates conversations with human users. The earliest chatbot, ELIZA, was created in 1966 using only 200 lines of code to imitate a psychotherapist. Chatbots use artificial intelligence and machine learning algorithms to understand natural language, process conversations by extracting information, and respond contextually. Rule-based chatbots respond based on programmed rules while machine learning chatbots can handle more complex conversations by learning from previous interactions. Popular libraries for building chatbots include NLTK, ChatterBot, and Rasa. Front-end technologies include HTML and JavaScript while Python is commonly used for natural language programming on the back-end.

Uploaded by

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

CHATBOT

A Chatbot is an automated system designed to initiate a conversation with


humen users.

History of chatbots dates back to 1966 when a computer program called ELIZA was
invented by Weizenbaum. It imitated the language of a psychotherapist from only 200
lines of code. You can still converse with it here: Eliza.

How does CHATBOT works..?

They use a mixture of AI and machine learning algorithms to make the bots
understand Natural language (NLU — Natural language understanding),
process the conversation text and extracts information (NLP — Natural
Language Processing) and respond to the user preserving the context of the
conversation (NLG — Natural Language Generation).

Page 1 of 4
Rule-based chatbots
Chatbots follow a set of established rules or flows to respond to questions
posted by a user. All your simple applications contain rule-based chatbots, which respond to
queries based on the rules they are trained on. For instance, a weather application, where you
ask for weather forecast and it fetches the data from different sources and responds with the
information.
Rule-based chatbots may not be able to hold complex conversations. It can only accomplish
the tasks it is programmed to perform unless more improvements are made by the developer.

Machine Learning-based chatbots


Chatbots that are based on machine learning can hold more complex conversations as they try
to process the question and understand the meaning behind the question. It learns from the
previous conversation and enables itself to handle more complex questions in the future.

Libraries Used To make Chatbot:

1.NLTK (Natural language Toolkit)


NLTK is a leading platform for building Python programs to work with human
language data. It provides easy-to-use interfaces

2.ChatterBot
ChatterBot is a machine-learning based conversational dialog engine build in
python which makes it possible to generate responses based on collections of known
conversations. The language independent design if ChatterBoit allows is to be trained to
speak any language.

3.rasa
Open source machine learning frameworj to automate text-and voice-based
conversation NLU,Dialogue management, connect to facebook and more.

4.Tensorlayer
High level Tensorflow Deep learning library.

5.PyMessager
A python SDK and Flask API to develop Facebook Messenger application.

6.TensorFlow

Front-End-
HTML,JAVASCRIPT,

Back-End-
Python
Natural Language Programming

Page 2 of 4
Page 3 of 4
Working Of NLP

Page 4 of 4

You might also like