Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Prof. Kalyani Pendke, Avanti Sayare, Vishal Chore, Manish Wasnik
DOI Link: https://doi.org/10.22214/ijraset.2022.42014
Certificate: View Certificate
A Chatbot is a software application used to conduct an online chat conversation via text or text-to- speech, rather of furnishing direct contact with a live human agent. Designed to convincingly pretend the way a human would bear as a conversational mate. In the proposed system, we presented a chatbot that generates a positive response to user queries. The Proposed System is grounded on Artificial Intelligence Chatbot. This chatbot provides a vast intelligent base that can help pretend problem- solving for humans. We can help if the user has any problems or he wants to share something then our chatbot understands their problem and gives a positive reply to them.
I. INTRODUCTION
The creation and analysis of intelligent agents (software and machine) are called Artificial Intelligence, or AI. It can be implemented in nearly every sphere of work. Intelligent machines can do numerous tasks – from labor work to sophisticated operations, Prominent trends in this field are human brain stimulation, natural- language processing, neutral working, etc. One of the typical examples of an AI system is a "chatbot". A chatbot is a computer that responds like an intelligent entity when conversed with. The conversation may be through text or voice. Any chatbot program understands one or further human languages through Natural Language Processing. Due to this, the system interprets human language input using information fed to it. A popular illustration of a chatbot is the ALICE Bot (Artificial Linguistic Internet Computer Entity), which utilizes AIML pattern matching ways."Turing test"is one of the most popular measures of intelligence in similar systems. According to it, if a panel of human beings conversing with an unknown reality [1].
When there's no one to talk to or when someone is let interested in talking or communicating with another person, by this also one can be under stress or a mental illness. However, the user can use a chatbot can communicate with the chatbot, If this happens, the user can use a chatbot can communicate with the chatbot. And Chatbot will reply to the user in a positive aspect. Stress is part of being human, and it causes so many depression. Indeed high stress from serious illness, counterblockade, unemployed, or a painful life event may feel down or anxious. Fear and anxiety over your own and your loved ones' health, your financial condition or work, or the loss of support services you calculate on. Habitual health difficulties and mental health illnesses (similar as depression, anxiety, bipolar complaint, or schizophrenia) deteriorate a person's capacity to relate to others by affecting their thinking, feelings, mood, or conduct and serve each day [2]. So for this purpose, we proposed an AI- based chatbot. We created this chatbot using Flutter and Dialogflow Essential. This chatbot provides a vast intelligent base that can help pretend problem- solving for humans. We can help the user if the user has any problems or wants to share something also our chatbot understands their problem and gives a positive reply to them grounded on their input.
II. RELATED STUDY AND LITERATURE SURVEY
Chatbots, or conversational interfaces as they're also known, present a new way for individuals to interact with computer systems. Traditionally, getting a question answered by a software program involved using a search engine, or filling out a form. A chatbot allows a user to simply ask questions in the same manner that they would address a human.
The most well- known chatbots presently are voice chatbots Alexa and Siri. Still, chatbots are presently being espoused at a high rate on computer chat platforms. The technology at the core of the rise of the chatbot is natural language processing (“NLP”). Recent advances in machine learning have greatly bettered the accuracy and effectiveness of natural language processing, making chatbots a feasible option for numerous associations.
This enhancement in NLP is firing a great deal of fresh exploration which should lead to continued- enhancement in the effectiveness of chatbots in the times to come. the Chatbot has a veritably bright future because in recent times we're going to see that it'll come veritably common as a website [3]. Eliza is the first NLP computer program created by Joseph Weizenbaum in 1964 [32]. Eliza is one of the first chatbot programs that are able of trying the Turing test. Eliza was firstly designed to emulate a psychotherapist. Eliza mimicked the conversation by using pattern matching technique and negotiation methodology that gave the users an vision that ELIZA understood the conversation. Chatbot named PARRY was the coming developed in 1972 by Kenneth Colby [33]. PARRY had a conversational strategy, which was a much more serious and advanced program than ELIZA. PARRY Chatbot was developed to pretend a paranoid individual with internal illness. PARRY was the first Chatbot that passed the Variation of the Turing test.
In recent times, exploration related to chatbot has been increase significantly to grease in several applications (4), (17), [18], [19], [20]. In the paper, we compactly reviewed the conversational system methodologies which would dissect the emotional quotient of the user and try to become their virtual psychiatrist once they began to sputter with the bot. A considerable quantum of work has been done in the field of emotional analysis on the text written by a user in a chatbot [17], [18]. One of the successful chatbots that have been in the market so far is Woebot [9]. Wysa [10], another chatbot analogous to Woebot, seems to be scripted occasionally which might annoy the user. According to Paul [21] and Youper [22], the world ‘s first- ever emotional health assistant has a mood tracker and helps keep track of the enhancement in one ‘s emotional and latterly, internal health. According to Marianne [23], Headspace helps manage the stress and anxiety of its users by motivating them to meditate and regular exercises
.III. PROBLEM STATEMENT
Lots of youthful generations are battling stress and mental illness. According to Association for Medical Education in the Eastern Mediterranean Region (AMEEMR) [27], few nursing scholars observed moderate to high- position stress and postgraduate scholars ( i.e. domestic, master's degree scholars) have shown symptoms of stress up to some orthopedic trainees have experienced stress very downward, etc. Apart from daily exercises and yoga, the most effective way to reduce internal illness is that someone should talk to him, but the problem is that if one has no one to talk to also one doesn't want to share his words with anyone. Thus, contemporary youth prefers talking to a machine rather than a human being. This led to the evolution of the idea of a therapeutic chatbot [4].
"Artificial intelligence chatbot is a technology that makes relations between man and machines using natural language possible. A chatbot can give responses to the user based on their Input. Users can share their problems or different effects to the chatbot and grounded on user input chatbot give an applicable response to the user. A chatbot is a conventional agent that's able to communicate with operators by using natural languages. As multitudinous chatbot platforms formerly live, there are still some problems in building data- driven systems because a huge quantum of data is needed for their development [3].
IV. EXISTING SYSTEM
The former chatbot is detecting the user's feelings and gives very little output of its mental illness. You're fine. You need rest In Intelligent chatbot to calculate a total negative percentage grounded on user total input and it gives responses similar as for Zero depression-No remedy demand, for Slightly stressed- Relaxation needed to shed stress, for Largely stressed-Reduce stress in life, for Slightly depressed- Engage in recreational conditioning but not give positive advice or reply to reduce their mental illness [2].
V. PROPOSED SYSTEM
Our design is based on Artificial Intelligence-powered Chatbot. A Flutter is software that provides a user-friendly interface to make the connection easier and more accessible with the internet furnishing valid and dependable web services. We've created a sample chatbot Apk using flutter. Flutter is open source UI software development kit created by Google. It provides an interface. Where user shares their problem with a chatbot. This chatbot provides a vast intelligent base that can help pretend problem- solving for humans. We can help if the user has any problems or he wants to share commodity also our chatbot understands their problem and gives a positive reply to them. Our methodology includes API of Chatbot that will be developed with flutter which covers all the styling corridor and the outrage is used for performing the chatbot. The back- end part will be done with the dart programming language. In this backend, we use Dialogflow essentials to produce an agent and link with Goggle Cloud. It also contains various machine learning algorithms to learn the Chatbot by passing various user's responses and requests.
A. Dataset Description
In this work, we're trying to develop a dataset for user intent discovery in text. We've broken this dataset into different corridor depending on the intent of the user which makes him happy or sad, stressed or depressed some common corridor are examinations, career, health, financial issues, relationship etc.
In System Architecture Diagram, the user gets input from the App/ Device and also it goes into the Dialogflow agent in Dialogflow Essential. The Dialogflow agent matches the end- user expression to the intent in the agent. The intent contains Training Phrases Action and parameters & Response and eventually, the user gets the output.
B. Agent
A Dialogflow agent is a virtual agent that handles concurrent conversations with your end- users. It's a natural language understanding module that understands the nuances of human language. Dialogflow translates end- user text or audio during a discussion to structured data that your apps and services can understand. You design and make a Dialogflow agent to handle the types of exchanges needed for your system. A Dialogflow agent is analogous to a human call center agent. You train them both to handle anticipated discussion scripts, and your training doesn't need to be overly unequivocal.
C. Intent
An intent categorizes an end- user intention for one discussion turn. For each agent, you define numerous intents, where your combined intents can handle a complete discussion. When an end- user writes or says commodity, referred to as an end- user expression, Dialogflow matches the end- user expression to the stylish intent in your agent. Matching an intent is also known as intent classification.
A basic intent contains the following
VI. RESULT
With the help of dataset and Dialogflow essential, the user input works to the user's input in the following manner. When an end- user expression resembles one of these expressions, Dialogflow matches the intent that would lead to an effective and wanted affair..
The User sends their message and then the chatbot detects the intent of the input and also it gives a positive reply based on user intent.
Above fig. is an example of such intent.
In this design, we proposed a system where the user can ask their queries in textual format to our chatbot system and an applicable response is generated by the chatbot. The proposed methodology classifies the intent of users based on their input queries and gives them a positive response to their queries. In the future, we will increase accuracy for text classification methods. Presently, we\'ve concentrated on minor details of the user as we believe that attending to their queries and easing them from the stress would be the need for further information about the user.
[1] Anirudh Khanna, Bishwajeet Pandey, Kushagra Vashishta, Kartik Kalia, Bhale Pradeep Kumar and Teerath Das Chitkara, “A Study of Today’s A.I. through ChatBots and Rediscovery of Machine Intelligence”, 2015 [2] Falguni Patel, Riya Thakore, Ishita Nandwani, Santosh kumar Bharti, “Combating Depression in Students using an Intelligent Chat Bot: A Cognitive Behavioral Therapy”, IEEE ,2019. [3] Mohammed Saad Parbulkar, Munira Ansari, Saalim Shaikh, Talha Khan, Anupam Singh,” Intelligent Chatbot”, IJERT 2021 [4] B Sharma, H. Puri, and D. Rawat, “Digital psychiatry-curbing depression using therapy chatbot and depression analysis,” in 2018 Second International Conference on Inventive Communication and Computational Technologies (ICICCT), pp. 627–631, IEEE, 2018. [5] A Platform for Human-Chat bot Interaction Using Python [6] Bhaumik Kohli , Tanupriya Choudhury, Shilpi Sharma, Praveen Kumar.,” A Platform for Human- Chat bot Interaction Using Python”, IEEE , 2018. [7] Parth Thosani , Manas Sinkar, Jaydeep Vaghasiya, Radha Shankarmani,” A Self Learning Chat-Bot from User Interactions and Preferences”, IEEE , 2020. [8] Prakhar Srivastava, Nishant Singh,” Automatized Medical Chat bot (Medibot)”, IEEE, 2020. [9] K. K. Fitzpatrick, A. Darcy, and M. Vierhile, “Delivering cognitive behavior therapy to young adults with symptoms of depression and anxiety using a fully automated conversational agent (woebot): a randomized controlled trial,” JMIR mental health, vol. 4, no. 2, p. e19, 2017. [10] B. Inkster, S. Sarda, and V. Subramanian, “An empathy-driven, conversational artificial intelligence agent (wysa) for digital mental well-being: real-world data evaluation mixed-methods study,” JMIR mHealth and uHealth, vol. 6, no. 11, p. e12106, 2018. [11] Jitendra Purohi, Aditya Bagwe, Rishbh Mehta, OjaswiniMangaonkar, Elizabeth George, “Natural Language Processing based Jaro-The Interviewing Chatbot” , IEEE, 2019. [12] Bhavika R. Ranoliya , Nidhi Raghuwansh and Sanjay Singh , “Chatbot for University Related FAQs”, IEEE, 2017. [13] Ankil Shah, Bhargav Jain, Bhavin Agrawal, Saurabh Jain, Simon Shim, “Problem Solving Chat bot for Data Structures” ,IEEE, 2018. [14] Neelkumar P. Patel, Devangi R. Parikh, “AI and Web-Based Human-Like Interactive University Chat bot (UNIBOT)”, IEEE,2019. [15] Urmil Bharti, Deepali Bajaj, Hunar Batra, Shreya Lalit, Shweta Lalit, Aayushi Gangwan, “Med bot: Conversational Artificial Intelligence Powered Chat bot for Delivering Tele-Health after COVID-19”,IEEE ,2020. [16] Prof. K .Bala, Mukesh Kumar, Sayali Hulawale, Sahil Pandita, “Chat-Bot For College Management System Using A.I”, International Research Journal of Engineering and Technology(IRJET) [17] J. Jia, “The study of the application of a web-based chatbot system on the teaching of foreign languages,” in Society for Information Technology & Teacher Education International Conference, pp. 1201– 1207, Association for the Advancement of Computing in Education (AACE), 2004. [18] K. Chung and R. C. Park, “Chatbot-based heathcare service with a knowledge base for cloud computing,” Cluster Computing, pp. 1–13, 2018. [19] M. Dahiya, “A tool of conversation: Chatbot,” International Journal of Computer Sciences and Engineering, vol. 5, no. 5, pp. 158–161, 2017. [20] H. Al-Zubaide and A. A. Issa, “Ontbot: Ontology based chatbot,” in International Symposium on Innovations in Information and Communications Technology, pp. 7–12, IEEE, 2011. [21] P. McGregor, “The best 15 mental health apps,” 2018. [22] C. Shu, “Youper, a chatbot that helps users navigate their emotions,” 2019. [23] M. Marianne, “10 apps to help with depression in 2019,” 2019. [24] T. Satish and A. Punkit, “Emotion detection in text,” 2016. [25] T. Kiss and J. Strunk, “Unsupervised multilingual sentence boundary detection,” Computational Linguistics, vol. 32, no. 4, pp. 485–525, 2006 [26] H.-Y. Shum, X.-d. He, and D. Li, “From eliza to xiaoice: challenges and opportunities with social chatbots,” Frontiers of Information Technology & Electronic Engineering, vol. 19, no. 1, pp. 10–26, 2018. [27] I. J. Ribeiro, R. Pereira, I. V. Freire, B. G. de Oliveira, C. A. Casotti, and E. N. Boery, “Stress and quality of life among university students: A systematic literature review,” Health Professions Education, vol. 4, no. 2, pp. 70–77, 2018. [28] D. Britz, “Understanding convolutional neural networks for nlp,” 2015. [29] J. Wang, Z. Wang, D. Zhang, and J. Yan, “Combining knowledge with deep convolutional neural networks for short text classification.,” in IJCAI, pp. 2915–2921, 2017. [30] T. N. Sainath, O. Vinyals, A. Senior, and H. Sak, “Convolutional, long short-term memory, fully connected deep neural networks,” in 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 4580–4584, IEEE, 2015. [31] Z. Yang, D. Yang, C. Dyer, X. He, A. Smola, and E. Hovy, “Hierarchical attention networks for document classification,” in Proceedings of the 2016 conference of the North American chapter of the association for computational linguistics: human language technologies, pp. 1480– 1489, 2016. [32] [https://en.wikipedia.org/wiki/ELIZA [33] https://en.wikipedia.org/wiki/PARRY
Copyright © 2022 Prof. Kalyani Pendke, Avanti Sayare, Vishal Chore, Manish Wasnik. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET42014
Publish Date : 2022-04-29
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here