skip to main content
10.1145/3443279.3443308acmotherconferencesArticle/Chapter ViewAbstractPublication PagesnlpirConference Proceedingsconference-collections
research-article
Open access

Building a Chatbot on a Closed Domain using RASA

Published: 01 February 2021 Publication History

Abstract

In this study, we build a chatbot system in a closed domain with the RASA framework, using several models such as SVM for classifying intents, CRF for extracting entities and LSTM for predicting action. To improve responses from the bot, the kNN algorithm is used to transform false entities extracted into true entities. The knowledge domain of our chatbot is about the College of Information and Communication Technology of Can Tho University, Vietnam. We manually construct a chatbot corpus with 19 intents, 441 sentence patterns of intents, 253 entities and 133 stories. Experiment results show that the bot responds well to relevant questions.

References

[1]
Tsung-Hsien Wen, David Vandyke, Nikola Mrksic, Milica Gasic, Lina M. Rojas-Barahona, Pei-Hao Su, Stefan Ultes, and Steve Young. 2016. A network-based end-to-end trainable task-oriented dialogue system. arXiv:1604.04562
[2]
Pinglei Guo, Yusi Xiang, Yunzheng Zhang, and Weiting Zhan. 2017. Snowbot: An empirical study of building chatbot
[3]
Dhyani M, Kumar R. An intelligent Chatbot using deep learning with Bidirectional RNN and attention model. Mater Today Proc. 2020 Jun 10. Epub ahead of print. 32837917; PMCID: PMC7283081.
[4]
Carlos Segura, Àlex Palau, Jordi Luque, Marta R Costa-Jussà, and Rafael E Banchs. 2019. Chatbol, a chatbot for the Spanish "La Liga". In Proceedings of the 9th International Workshop on Spoken Dialogue System Technology. Springer, 319--330
[5]
Panitan Muangkammuen, Narong Intiruk, and Kanda Runapongsa Saikaew. 2018. Automated Thai-FAQ chatbot using RNN-LSTM. In Proceedings of the 22nd International Computer Science and Engineering Conference (ICSEC). IEEE, 1 -4.
[6]
Ming-Hsiang Su, Chung-Hsien Wu, Kun-Yi Huang, Qian-Bei Hong, and Hsin-Min Wang. 2017. A chatbot using LSTM-based multi-layer embedding for elderly care. In Proceeding of the International Conference on Orange Technologies (ICOT). IEEE, 70--74.
[7]
Guido Tascini. 2019. AI-Chatbot Using Deep Learning to Assist the Elderly. In Systemics of Incompleteness and Quasi-Systems. Springer, 303--315
[8]
Geoffrey E Hinton. 2009. Deep Belief Networks. Scholarpedia 4, 5 (2009), 5947.
[9]
Pratik Kataria, Kiran Rode, Akshay Jain, Prachi Dwivedi, Sukhada Bhingarkar, and M.C.P India. 2018. User adaptive Chatbot for Mitigating Depression. International Journal of Pure and Applied Mathematics 118, 16 (2018), 349--361.
[10]
Huyen Nguyen, David Morales, and Tessera Chin. 2017. A Neural Chatbot with Personality. Stanford University. https://web.stanford.edu/class/archive/cs/cs224n/cs224n.1174/reports/2761115.pdf.
[11]
Jiwei Li, Michel Galley, Chris Brockett, Georgios P Spithourakis, Jianfeng Gao, and Bill Dolan. 2016. A persona-based Neural Conversation Model. (2016). arXiv:1603.06155.
[12]
Iulian V Serban, Chinnadhurai Sankar, Mathieu Germain, Saizheng Zhang, Zhouhan Lin, Sandeep Subramanian, Taesup Kim, Michael Pieper, Sarath Chandar, Nan Rosemary Ke, et al. 2017. A Deep Reinforcement Learning Chatbot. arXiv preprint arXiv:1709.02349 (2017).
[13]
Vu Nhu Bao. 2017. Xay dung mo hinh doi thoai cho tieng Viet tren mien mo dua vao phuong phap hoc chuoi lien tiep. Vietnam Nationam University, Hanoi, Vietnam. http://lib.uet.vnu.edu.vn/bitstream/123456789/868/1/HTTT_NhuBaoVu_K21_Luan%20Van%20Thac%20si.pdf

Cited By

View all

Index Terms

  1. Building a Chatbot on a Closed Domain using RASA

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    NLPIR '20: Proceedings of the 4th International Conference on Natural Language Processing and Information Retrieval
    December 2020
    217 pages
    ISBN:9781450377607
    DOI:10.1145/3443279
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    In-Cooperation

    • FernUniversität in Hagen

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 February 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. CRF
    2. Chatbot
    3. LSTM
    4. Rasa
    5. SVM
    6. kNN

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    NLPIR 2020

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)472
    • Downloads (Last 6 weeks)62
    Reflects downloads up to 06 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media