SYNOPSIS
An application “CHATBOT FOR TEACHING MACHINE
LEARNING” is designed by using Database structure to retrive the [Link]
project is implemented mainly to solve the doubts and queries of students for
teaching the Machine Learning(ML).A chatbot suits the user needs and
[Link] are usually a statefulservices remembering previous
commands (and perhaps even conversation) in order to provide functionality.
Chatbot AI refers to an artificial intelligence system designed to simulate
conversation with users through text interactions.
Chatbots can be integrated into websites, messaging platforms, or
customer service applications to provide automated, intelligent responses to user
queries, making interactions more efficient and user-friendly. Chatbots use
Natural Language Processing (NLP), a branch of AI that enables the system to
understand, interpret, and generate human language. They can be rule-based
(following predefined scripts) or driven by machine learning models (which
learn and improve responses over time based on interaction data).
When chatbot technology is integrated with popular web services or
technologies it can be utilized securely by an large audience. The project
provides user by human text recognition featureand have basic interaction with
them just like a [Link] it provides text-based user interface,allowing user
to type commands as well as receive the texts. In this project the design of a
chatbot,which provides a genuine and accurate answer for any query using
NLTK library.
INTRODUCTION
A chatbot is a computer software program that conducts a conversation
via auditory or textual methods. Chatbots are programs that work on Artificial
Intelligence (AI) & Machine Learning Platform. A person can ask any
questions and chatbot will answer accordingly. Nowadays a chatbot is highly
popular and takes speed as a computer communication application.
Many chatbots have been developed that provide a multitude of services
through a wide range of methods. A chatbot is a brand-new conversational agent
in the highspeed changing technology world. With the advance of Artificial
Intelligence and machine learning, chatbots are becoming more and more
popular.
One of the potential paths to retrieve the info automatically and quickly is
through a chatbot. The interaction in the format of speech or text between
humans and computers is gaining more and more in popularity nowadays.
People expect to have similar experiences when they talk to machines as when
they talk to human beings.
In order to provide suitable responses based on phrases or keywords taken
from questions, a dialogue system or program is needed, which is often called a
chatbot. The chatbot is a computer program that has an ability to communicate
with people by providing answers to questions. A chatbot is used in many areas
like order food, product suggestions, customer support, weather, personal
finance assistance, scheduled a meeting, search and track flights, send money,
and many more. Chatbot has become more popular in business groups right now
as it can reduce customer service costs and handles multiple users at a time. But
yet to accomplish many tasks there is a need to make chatbots as efficient as
possible.
People input the natural language speech or text, while the program provides the
most feasible intelligent response in the form of text or speech. Worldwide
various chat systems are available that enable communication using natural
languages.
EXISTING SYSTEM
It is largely manual and depends on traditional methods of interacting
with students for information and support. In this current system, students
seeking assistance on machine learning concepts or courses must rely on human
instructors or staff members to answer their queries. Typically, students either
visit the campus, make phone calls, or send emails to the relevant department to
get answers to their questions, which often leads to delays in response times.
This system also requires a lot of manual effort from faculty and
administrative staff. It consumes significant time and resources, especially when
the number of student queries increases, leading to potential delays and
inefficiencies. Human staff members can only handle a limited number of
queries at a time, which is problematic in a scenario where many students need
assistance simultaneously.
Moreover, with the growing number of students in educational institutions,
this manual approach becomes unsustainable. Students may miss out on getting
timely help, and faculty members may struggle to keep up with the increasing
workload. Also, keeping track of past interactions and providing consistent
support can be difficult without a systematic solution in place.
DRAWBACKS
• Human being only interacts with one human at a time. If there is a long
queue of queries, human can‘t offer the requirement solution at the same
time.
• Ideally, a message in live chat is answered quickly only when the client
side chat person is also in online or otherwise they need to wait until the
client side person is to response. It may lead to lose interest of a
customer.
• It is not cost-effective and it may loss making. Also this process may lead
to communication gap between student and college.
PROPOSED SYSTEM
A chatbot system is a software program that interacts with users using its
own language called the natural language. The purpose of a chatbot system is to
simulate a conversation with a human which is so human-like that the person
gets fooled into believing that he's talking with a human.
Chatbots seem to hold tremendous promise for providing users with quick
and convenient support responding specifically to their questions. The most
frequent motivation for chatbot users is considered to be productivity, while
other motives are entertainment, social factors, and contact with novelty.
However, to balance the motivations mentioned above, a chatbot should be built
in a way that acts as a tool, a toy, and a friend at the same time.
By using chatbot students just have to query through the bot which is
used for chatting.
Students can chat using any format there is no specific format the user has to
follow.
The system uses built in Natural language processing to answer they query.
ADVANTAGES
• User does not have to go personally to any place to clarify queries.
• This application save time and money.
• It saves time for the students as well as teaching and non-teaching staffs.
• Chatbot can run on local computers.
• Having a full-time service is convenient and can answer urgent questions
of students who need answers after hours.
• Chatbot interfaces is user friendly to all [Link] Time and
[Link], there is no such constraint and they can handle as many
queries as required at once.
SYSTEM SPECIFICATION
1.2.1 HARDWARE CONFIGURATION
Processor : AMD Pro A4-3350B
2.00GHZ
Mother Board : HP
RAM : 2GB
Hard Disk : 320 GB
Mouse : Logitech Optical Mouse
Keyboard : Logitech Multimedia
1.2.2 SOFTWARE SPECIFICATION
Operating System : Windows 10
Front – End : JavaScript
Back – End : JavaScript runtime
4.5 DATA FLOW DIAGRAM
F.1: DATA FLOW DIAGRAM
FORM DESIGN
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="[Link]">
<link rel="stylesheet" href="[Link]
awesome/6.7.1/css/[Link]">
</head>
<body>
<div class="chatbot-popup">
<!-- chat-header -->
<div class="chat-header">
<div class="header-info">
<i class="fa-solid fa-robot usericon" height="50" width="50"
viewBox="0 0 1024 1024"></i>
<h2 class="logo-text">ChatBot</h2>
</div>
<button id="close-chatbot"><i class="fa-solid
fa-angle-down"></i></button>
</div>
<!-- chat-body -->
<div class="chat-body">
<div class="message bot-message">
<i class="fa-solid fa-robot bot-avatar" height="50" width="50"
viewBox="0 0 1024 1024"></i>
<div class="message-text">Hey ! There <br> How Can I Help
You ?....</div>
</div>
<div class="message user-message">
<div class="message-text">Lorem ipsum dolor sit amet consectetur
adipisicing elit. Quae, autem!</div>
</div>
<div class="message bot-message thinking">
<i class="fa-solid fa-robot bot-avatar" height="50" width="50"
viewBox="0 0 1024 1024"></i>
<div class="message-text">
<div class="thinking-indicator">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<!-- chat-footer -->
<div class="chat-footer">
<form action="#" class="chat-form">
<textarea placeholder="Message..." class="message-input"
required></textarea>
<div class="chat-controls">
<button type="button" id="emoji-picker"><i class="fa-regular fa-
face-smile"></i></button>
<div class="file-upload-wrapper">
<input type="file" accept="images/*" id="file-input" hidden>
<img src="#" >
<!-- </div> -->
<button type="button" id="file-upload"><i class="fa-solid fa-
paperclip"></i></button>
<button type="button" id="file-cancel"><i class="fa-solid fa-
paperclip"></i></button>
</div>
<button id="send-message" type="submit"><i class="fa-solid fa-
arrow-up-long"></i></button>
</div>
<script
src="[Link]
<script src="[Link]"> </script
const chatBody = [Link]('.chat-body');
const messageInput = [Link]('.message-input');
const sendMessageButton = [Link]('#send-message');
const fileInput = [Link]('#file-input');
const API_KEY = "AIzaSyCMeuwMB4kbpIBr0pZg5tp7nnSaFLaIsVk";
const API_URL =
`[Link]
flash:generateContent?key=${API_KEY}`;
const userData = {
message: null,
file:
{
[Link]('.chat-form').appendChild(picker)
[Link]('click', () =>
handleOutgoingMessage(e));
[Link]('#file-upload').addEventListener('click',()
=>[Link]());