You are on page 1of 18

AI Chatbot : Human-chatbot Interaction Using

Javascript

Group ID :
1. Kastup Raj Bhattarai : 2019-B-28092001B
2. Jitesh Singh : 2019-B-20022001A

Guided By:
Prof. Khushbu Trivedi
CONTENT

● Chatbots
● Why we need
● Types of Chatbots
● Self learning Chatbots
● NLP
● JavaScript

3
CHATBOT

A chatbot is a smart application that reduces human work and helps an organization to solve

basic queries of the customer. Today most of the companies, business from different sectors

make use of chatbots in a different way to reply to their customers as fast as possible. Chatbots

also help in increasing traffic of sites which is the top reason for businesses to use chatbots.

02/07/2023 4
WHY WE NEED
1) 24/7 Availability: Chatbots are available 24/7, which means they can provide customer support at any time of day or night, even when
humans are not available.

2) Automation: Chatbots can automate repetitive tasks, such as answering frequently asked questions, processing orders, and providing
product recommendations, which can save time and resources for businesses.

3) Personalization: Chatbots can be customized to provide personalized experiences for users, such as recommending products based on
their previous purchases or providing targeted promotions based on their interests.

4) Scalability: Chatbots can handle multiple conversations at once, which means they can scale to meet the needs of businesses with
large customer bases.

5) Cost Savings: Chatbots can provide cost savings for businesses, as they can reduce the need for human customer support agents and
can handle a large volume of conversations simultaneously.

6) Improved Customer Engagement: Chatbots can improve customer engagement by providing quick and easy access to information, and
by providing a conversational experience that feels more human-like.

02/07/2023 5
CHATBOT USUSAL NAMES

•Virtual Assistance
•Customer Service Assistance
•Virtual Customer Service agent
•Website Chatbot
•Virtual Helper
•Live Agent AI

02/07/2023 6
TYPES OF CHATBOT

1) Rule-based Chatbots – As the Name suggests, there are certain rules on which chatbots operate. Like a Machine learning model, we train the

chatbots on user intents and relevant responses, and based on these intents chatbot identifies the new user’s intent and response to him.

2) Self-learning chatbots – Self-learning bots are highly efficient because they are capable of grabbing and identifying the user’s intent on their

own. They are built using advanced tools and techniques of Machine Learning, Deep Learning, and NLP.

02/07/2023 7
SELF-LEARNING BOTS

Self-learning bots are further divided into 2 subcategories.

● Retrieval-based chatbots:- Retrieval-based it is somewhat the same as Rule-based where predefined input patterns and responses are
embedded.
● Generative-Based chatbots:- It is based on the same phenomenon as Machine Translation built using sequence 2 sequences neural
network.

02/07/2023 8
02/07/2023 9
MACHINE LEARNING
Machine learning is a form of artificial intelligence (AI) that teaches computers to think in a similar way to how humans do: Learning and improving
upon past experiences. It works by exploring data and identifying patterns, and involves minimal human intervention.

Almost any task that can be completed with a data-defined pattern or set of rules can be automated with machine learning. This allows companies
to transform processes that were previously only possible for humans to perform—think responding to customer service calls, bookkeeping, and
reviewing resumes

02/07/2023 10
NLP
The field of study that focuses on the interactions between human language and computers is called Natural

Language Processing, or NLP for short. It sits at the intersection of computer science, artificial intelligence, and

computational linguistics. NLP is a way for computers to analyze, understand, and derive meaning from human

language in a smart and useful way. Natural language processing operates within computer programs to translate

digital text from one language to another, to respond appropriately and sensibly to spoken commands, and

summarise large volumes of information. All within real-time processing boundaries.

02/07/2023 11
JAVASCRIPT

JavaScript is a popular programming language used for building dynamic and interactive
websites. It is often used for creating client-side web applications and can be used for building
chatbots as well.
Building a Chatbot using JavaScript: Now let's discuss how to build a chatbot using JavaScript.
There are several libraries and frameworks available to build chatbots, such as Dialogflow,
Botpress, and more.

02/07/2023 12
FRAMEWORK
1) Dialogflow: Dialogflow is a chatbot framework developed by Google. It provides a visual
interface for building conversational interfaces, and supports integration with various messaging
platforms, such as Facebook Messenger, Slack, and more.

2) Microsoft Bot Framework: Microsoft Bot Framework is a set of tools and services for building
chatbots that can be integrated with various platforms, such as Skype, Microsoft Teams, and
more. It supports multiple programming languages, including C#, Node.js, and Python.

3) IBM Watson Assistant: IBM Watson Assistant is a chatbot framework developed by IBM. It
provides natural language understanding (NLU) capabilities and supports integration with various
platforms, such as Facebook Messenger, Slack, and more.

4) Botpress: Botpress is an open-source chatbot framework that provides a visual interface for
building chatbots. It supports integration with various messaging platforms and can be extended
with custom modules.

5) Rasa: Rasa is an open-source chatbot framework that provides NLU capabilities and supports
building chatbots with Python. It also provides a visual interface for building conversational flows
and supports integration with various platforms.

02/07/2023 13
RESULT

02/07/2023 14
OBSERVATION
1) Response time: The speed at which a chatbot responds to user queries is important in providing a good user experience.
Long response times can lead to frustration and a poor user experience.

2) Accuracy: Chatbots should be able to accurately understand and respond to user queries. Inaccurate responses can lead
to confusion and dissatisfaction among users.

3) Conversational flow: The flow of the conversation between the chatbot and the user should be natural and intuitive. The
chatbot should be able to handle different variations of user queries and provide appropriate responses.

4) Personalization: Chatbots can be personalized to provide a more engaging and satisfying user experience. Personalization
can include using the user's name, remembering previous interactions, and providing tailored recommendations based on
their interests.

5) Integration with other systems: Chatbots can be integrated with other systems to provide a seamless user experience. For
example, a chatbot for an e-commerce site can be integrated with the site's inventory system to provide real-time product
availability information.

6) User feedback: It's important to gather feedback from users to understand their experience with the chatbot. This feedback
can be used to improve the chatbot's performance and user experience.

02/07/2023 15
CONCLUSION

In conclusion, chatbots have become increasingly popular in recent years due to their
ability to automate customer service interactions, improve customer satisfaction, and
save businesses time and resources. With advancements in natural language
processing and machine learning, chatbots can provide more accurate and personalized
responses to users, creating a more engaging and satisfying user experience.
Observing chatbots can provide valuable insights into their performance and user
interactions, helping to identify areas for improvement and optimize their performance.
By leveraging the benefits of chatbots, businesses and organizations can provide better
customer service, save costs, and increase efficiency, ultimately leading to greater
success in the marketplace.

02/07/2023 16
REFERENCES

1.https://www.mygreatlearning.com/blog/javascript-tutorial-with/
2.https://www.techopedia.com/definition/30343/natural-language-toolkit-javascript
3. https://en.wikipedia.org/wiki/Chatbot
4.https://www.freshworks.com/live-chat-software/chatbots/what-is-a-chatbot/

02/07/2023 17
THANK YOU

02/07/2023 18

You might also like