RP-4
RP-4
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
Abstract: ChatBot has the capability to recognize the specific domain of any query that is posted. Cosine
Similarity algorithm is applied here to find the right answer to the user query. The bot itself is intelligent
enough to identify the frequently asked unanswered question and notify the same for admin feedback. Once
the admin provides a response for it, the bot is enhanced intelligent to look for new set of questions and
answers and respond the same to the users in the future. This operation can be configurable in such a way
that the system can decide the threshold limit for the unanswered question.
Keywords: Natural Language Processing, Cosine Similarity Algorithm, Artificial Intelligence, User
Interface, Machine Learning
I. INTRODUCTION
A chatbot is a piece of software that assists in the natural development of a conversation with the user Artificial
intelligence has become increasingly complicated as information technology and communication have advanced. Human
acts such as taking a picture are used by AI systems. making a decision at a specific time, executing day-to-day chores,
responding to people swiftly, and solving problems making a decision at a specific time, executing day-to-day chores,
responding to people swiftly, and solving problems with the internet It's a highly effective way to handle an benefit from
everything that's just outside your door. The chatbots are good enough to trick users into thinking they're talking to a
human, but they have a limited knowledge base at runtime and no way of keeping track of all the discussions.
Chatbots employ machine learning to assist AI in understanding user queries/doubts and providing an appropriate
response to the user. For conversing or engaging with the user, they are created utilising the Artificial Intelligence Markup
Language. Answering engines are another name for chatbots. Because the knowledge has already been programmed in
advance, this application works in a very straightforward manner.
Mining are some of the approaches employed in the application chatbot's knowledge, which has been gathered from a
variety of sources.. The chatbot compares the user's supplied sentence to an existing pattern in the knowledge base. Each
pattern is compared against the chatbot that receives questions from users, tries to understand the question, and provides
appropriate answers. It does this by converting an English sentence into a machine-friendly query, then going through
relevant data to find the necessary information, and finally returning the answer in a natural language sentence. The bot
itself is intelligent enough to identify the frequently asked unanswered question and notify the same for admin
feedback.Once the admin provides a response for it, the bot is enhanced intelligent to look for new set of questions and
answers and respond the same to the users in the future.
III. METHODOLOGY
The training procedure is necessary because it improves the DataSet, which improves the responses that are crucial for
subsequent processing. You will be required to submit a list of statements for the training process, with the order of each
remark determined by its placement in a given conversation. Data from conversation transcripts is contained in a
conversation dataset. This information is used to train a Smart Reply model that suggests text responses to human agents
interacting with customers. Finally, we establish the frequency thresholds for each question.
A Conversational User Interface, or CUI, is a text-based interface that allows people and computers to communicate
using natural language. Based on a large library of conversational patterns, language analysing software helps bots detect
and interpret human interactions. CUI can help users interact better on the platform, through mobile apps, and even over
the phone. Its main advantage is that it is simple to use, allowing users to ask for exactly what they want without having
to memorise specific keywords or phrases. It has the effect of a one-on-one chat. A bot, on the other hand, can have
thousands of conversations at once. Furthermore, the language processing technology that powers chatbots and voice
interfaces is capable of learning and evolving with its users.
Classification module consists of several phases including Similarity check and Admin feedback of unanswered
questions. In this case, the user's query is initially passed on to the NLP. The term that fits the dataset was then extracted
IV. ALOGRITHM
Cosine similarity algorithm is one of the popular algorithm of Machine learning .Cosine similarity measures the similarity
beyween two vectors of an inner product space. It determines whether two vectors are pointing in the same general
direction by measuring the cosine of the angle between them. In text analysis, it's frequently used to determine document
similarity. Thousands of characteristics can be used to characterise a document, each of which records the frequency of
a specific word (such as a keyword) or phrase in the document. As a result, each document is an object that is represented
by a term-frequency vector.
Cosine similarity is a similarity metric that can be used to compare documents or, for example, to rank documents based
on a vector of query words. Allow two vectors, x and y, to be compared. When we use the cosine measure as a similarity
function, we get ||x||, where ||x|| is the Euclidean norm of vector, defined as It is the vector's length in terms of concept.
Similarly, the Euclidean norm of vector y is ||y||. The cosine of the angle between vectors x and y is computed by the
measure. A cosine value of 0 indicates that the two vectors are orthogonal (at 90 degrees to each other) and do not match.
V. SYSTEM ARCHITECTURE
IX. RESULT
The proposed system was put to the test and proved to be effective and feasible. It saves manpower, time, and paper work
for college administration. It also saves students the time and effort of driving all the way to campus for research. We
designed a chatbot in this article that would communicate with users and deliver all college-related information. A chatbot
connects the student/parent and the college administration. The admin will update any questions that the chatbot does not
answer.
Successful answers:
Unsuccessful answer:
REFERENCES
[1] A. P. Chaves and M. A. Gerosa, ‘‘How should my chatbot interact? A survey on social characteristics in human–
chatbot interaction design,’’ Inc.. Hum.-Comput. Interact., vol. 37, no. 8, pp. 729–758, May 2021,
doi:10.1080/10447318.2020.1841438.
[2] M. Chung, E. Ko, H. Joung, and S. J. Kim, ‘‘Chatbot e-service and customer satisfaction regarding luxury brands,’’
J. Bus. Res., vol. 117,pp. 587–595, Sep.2020
[3]Ms. Ch.Lavanya Susanna and R. Pratyusha, "COLLEGE ENQUIRY CHATBOT" in International Research Journal
of Engineering and Technology (IRJET) on 3rd March 2020.
[4] S. Pérez-Soler, E. Guerra, and J. de Lara, ‘‘Model-driven chatbot development,’’ in Conceptual Modeling, G. Dobbie,
U. Frank, G. Kappel, S. W. Liddle, and H. C. Mayr, Eds. Cham, Switzerland: Springer, 2020, pp. 207–222
[5] M. M. H. Dihyat and J. Hough, ‘‘Can rule-based chatbots outperform neural models without pre-training in small
data situations: A preliminary comparison of AIML and Seq2Seq,’’ in Proc. 25th Workshop Semantics Pragmatics
Dialogue, 2021, pp. 1–3
[6] J. Jiang and N. Ahuja, ‘‘Response quality in human-chatbot collaborative systems,’’ in Proc. 43rd Int. ACM SIGIR
Conf. Res. Develop. Inf. Retr. New York, NY, USA: Association for Computing Machinery, Jul. 2020, pp. 1545–1548,
doi: 10.1145/3397271.3401234.
[7] Nawaz, N., & Gomes, A. M. (2019). Artificial intelligence chatbots are new recruiters. International Journal of
Advanced Computer Science and Applications, 10(9), 1-5.