Skip to main content

CBT-Driven Chatbot with Seq-to-Seq Model for Indian Languages

  • Chapter
  • First Online:
AI, IoT, Big Data and Cloud Computing for Industry 4.0

Abstract

Chatbots, also known as conversational interfaces, provide a new way for people to interact with computer systems. Chatbot software is a feature or an application for communicating directly through natural language with online users, so as to allow their queries to be solved without having to wait in a queue for a call center agent to pick up. In a way, chatbots are considered as virtual assistants for the user, with whom they can interact smoothly. Focusing on Covid-19, for example, we describe a cognitive–behavioural therapy (CBT)-driven chatbot in development which provides frequently asked questions about COVID-19 and relevant information resources. We emphasize the mental health aspect of the disease because Covid-19 not only impacts physical health but mental health as well. In response to these needs, our chatbot offers a cognitive Patient Health Questionnaire. Based on the user’s sentiment analysis score, the chatbot will then guide the user to find helpful resources to address mental health issues such as depression. Nevertheless, we encountered many challenges while building a chatbot in Indian languages: no appropriate data and information in Hindi language related to COVID-19 and mental health were available. Therefore, maintaining and adding data in the database was a tedious task. Being morphologically rich, free word order languages, Indian dialects carry ambiguities and complexities and are therefore complex to handle. Most of the Indian languages fall under the low-resource language category, as the datasets currently available for most Indian languages are limited when compared to the English language. Because the World Health Organization has declared Covid-19 as a public health emergency of international concern (PHEIC) making information about Covid-19 available to speakers of many languages is health-care priority. Guided by this initiative to help make information available in a public health crisis, we designed the chatbot by collecting relevant data from the user and then displaying the results in web and mobile devices. This CBT-driven chatbot is built using the transformer model architecture, which is based on the attention mechanism. Previously, the authors worked on this model for the English language, and now to advance the chatbot in different languages the authors are developing the chatbot in the Hindi language as well. We have applied a seq-to-seq transformer-based deep learning model into proposed work which presents an end-to-end potential in the domain. We found that the development of a chatbot in Hindi was necessary to help people who know only Hindi language to converse with the chatbot easily.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Nagargoje, S., Mamdyal, V. and Tapase, R., 2021. Chatbot for Depressed People. United International Journal for Research & Technology (UIJRT), 2(7), pp.208–211.

    Google Scholar 

  2. Bhagwat, V., Nagarkar, M., Pooja, P., Shrikant, J., Kharate, N.G. (2019). Review of Chatbot System in Hindi Language. International Research Journal of Engineering and Technology (IRJET), 6(11), 2395–0072.

    Google Scholar 

  3. Setiaji, B., & Wibowo, F. W. (2016, January). Chatbot using a knowledge in database: human-to-machine conversation modeling. In 2016 7th international conference on intelligent systems, modeling, and simulation (ISMS) (pp. 72–77). IEEE.

    Google Scholar 

  4. Badlani, S., Aditya, T., Dave, M., & Chaudhari, S. (2021, May). Multilingual Healthcare Chatbot Using Machine Learning. In 2021 2nd International Conference for Emerging Technology (INCET) (pp. 1–6). IEEE.

    Google Scholar 

  5. Ouerhani, N., Maalel, A., Ghezala, H. B., & Chouri, S. (2020). Smart Ubiquitous Chatbot for COVID-19 Assistance with Deep learning Sentiment Analysis Model during and after quarantine.

    Google Scholar 

  6. Ali, A., & Amin, M. Z. (2019). Conversational AI Chatbot Based on Encoder-Decoder Architectures with Attention Mechanism. Artificial Intelligence Festival 2.0.

    Google Scholar 

  7. Ahmad, N. A., Che, M. H., Zainal, A., Abd Rauf, M. F., & Adnan, Z. (2018). Review of chatbots design techniques. International Journal of Computer Applications, 181(8), 7–10.

    Article  Google Scholar 

  8. Sojasingarayar, A. (2020). Seq2seq AI chatbot with attention mechanism. arXiv preprint arXiv:2006.02767.

    Google Scholar 

  9. Dharwadkar, R., & Deshpande, N. A. (2018). A medical chatbot. International Journal of Computer Trends and Technology (IJCTT), 60(1), 41–45.

    Article  Google Scholar 

  10. Bhirud, N. S. (2017). Grammar checkers for natural languages: a review. International Journal on Natural Language Computing (IJNLC) Vol, 6.

    Google Scholar 

  11. Shah, A., Shah, R., Desai, P., Desai, C. (2019). Mental Health Monitoring using Sentiment Analysis, International Research Journal of Engineering and Technology (IRJET) ISSN: 2395-0072, Volume: 07 Issue: 07.

    Google Scholar 

  12. Bharti, U., Bajaj, D., Batra, H., Lalit, S., Lalit, S., & Gangwani, A. (2020, June). Medbot: Conversational artificial intelligence powered chatbot for delivering tele-health after covid-19. In 2020 5th International Conference on Communication and Electronics Systems (ICCES) (pp. 870–875). IEEE.

    Google Scholar 

  13. George, A. S., Muralikrishnan, G., Ninan, L. R., Varrier, P. S., & Dhanya, L. K. (2021, June). Survey on the Design and Development of Indian Language Chatbots. In 2021 International Conference on Communication, Control and Information Sciences (ICCISc) (Vol. 1, pp. 1–6). IEEE.

    Google Scholar 

  14. Sancheti, R., Upare, S., Bhirud, N., & Tatale, S. Adaptive Machine Learning Chatbot for Code-Mix Language (English and Hindi).

    Google Scholar 

  15. Rus, V. (2018). Intelligent Chatbot using Deep Learning (Doctoral dissertation, University of Memphis).

    Google Scholar 

  16. Palasundram, K., Sharef, N. M., Nasharuddin, N., Kasmiran, K., & Azman, A. (2019). Sequence to sequence model performance for education chatbot. International Journal of Emerging Technologies in Learning (iJET), 14(24), 56–68.

    Article  Google Scholar 

  17. Patil, A., Patil, K., Shimpi, G., & Kulkarni, M. (2020). COVIBOT: An efficient AI-based Chatbot with Voice Assistance and Multilingualism for COVID-19. Department of Information Technology, 17.

    Google Scholar 

  18. Thukrul, J., Srivastava, A., & Thakkar, G. (2020). DoctorBot-An informative and interactive Chatbot for COVID-19. International Research Journal of Engineering and Technology (IRJET), 7(07), 2395–0072.

    Google Scholar 

  19. Vanjani, M., Aiken, M., & Park, M. (2019). Chatbots for multilingual conversations. J. Manag. Sci. Bus. Intell, 4, 19–24.

    Google Scholar 

  20. Kroenke, K., Spitzer, R. L., & Williams, J. B. (2001). The PHQ-9: validity of a brief depression severity measure. Journal of general internal medicine, 16(9), 606–613.

    Article  Google Scholar 

  21. Suraj, D. M., Prasad, V. A., Mitra, S., Rohan, A. R., & Salis, V. E. (2019). Conversational Assistant based on Sentiment Analysis.

    Google Scholar 

  22. W. S. Erazo, G. P. Guerrero, C. C. Betancourt and I. S. Salazar, “Chatbot Implementation to Collect Data on Possible COVID-19 Cases and Release the Pressure on the Primary Health Care System,” 2020 11th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), 2020, pp. 0302–0307, https://doi.org/10.1109/IEMCON51383.2020.9284846.

  23. Bhirud, N., Tataale, S., Randive, S., & Nahar, S. (2019). A Literature Review on Chatbots in Healthcare Domain. International Journal of Scientific & Technology Research, 8(7), 225–231.

    Google Scholar 

  24. Coronavirus disease (COVID-19) pandemic, World Health Organization (WHO), emergencies, diseases, novel-coronavirus-2019.

    Google Scholar 

  25. B. Sharma, H. Puri and D. Rawat, “Digital Psychiatry - Curbing Depression using Therapy Chatbot and Depression Analysis,” 2018 Second International Conference on Inventive Communication and Computational Technologies (ICICCT), 2018, pp. 627–631, https://doi.org/10.1109/ICICCT.2018.8472986.

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Tatale, S., Bhirud, N., Jain, P., Pahade, A., Bagul, D., Jain, N.K. (2023). CBT-Driven Chatbot with Seq-to-Seq Model for Indian Languages. In: Neustein, A., Mahalle, P.N., Joshi, P., Shinde, G.R. (eds) AI, IoT, Big Data and Cloud Computing for Industry 4.0. Signals and Communication Technology. Springer, Cham. https://doi.org/10.1007/978-3-031-29713-7_5

Download citation

Publish with us

Policies and ethics