Comparative Analysis of Google Dialogflow and Rule-Based NLTK Chatbots for Application FAQ
DOI:
https://doi.org/10.22441/collabits.v2i3.27345Keywords:
Chatbots, Dialogflow, NLTK, FAQ, Comparative AnalysisAbstract
This study presents a comparative analysis of two chatbot frameworks, Google Dialogflow and rule-based NLTK (Natural Language Toolkit), for the development of chatbots to handle frequently asked questions (FAQ) in applications. The study focuses on Blender, a popular 3D modeling software, as a case study. Ten testing questions were used to evaluate the chatbots' accuracy, precision, recall, and F1-score. The results showed that Dialogflow achieved an accuracy of 80%, precision of 80%, recall of 100%, and an F1-score of 88.9%. In contrast, the rule- based NLTK chatbot achieved an accuracy of 60%, precision of 66.7%, recall of 80%, and an F1-score of 72.8%. The study concluded that Dialogflow is a more effective and reliable chatbot for handling Blender FAQs due to its ability to retrieve relevant information from a large knowledge base and its use of machine learning algorithms to improve its performance over time. However, the rule-based NLTK chatbot may still be useful in certain situations where a more simple and customizable chatbot is required.Downloads
References
Abu Shawar, B. and Atwell, E. (2007). Chatbots: Are they Really Useful? Journal for Language Technology and Computational Linguistics, 22(1), pp.29–49. doi:https://doi.org/10.21248/jlcl.22.2007.88.
Google Cloud. (n.d.). Dialogflow. [online] Available at: https://cloud.google.com/dialogflow.
Google Cloud. (n.d.). Manage Knowledge Bases | Dialogflow ES. [online] Available at: https://cloud.google.com/dialogflow/es/docs/how/knowledge-bases.
Sari, Y. (2019). Pengenalan Natural Language Toolkit (NLTK) Bagian 1. [online] Departemen Ilmu Komputer dan Elektronika, UGM. Available at: https://sistemcerdas.mipa.ugm.ac.id/wp-content/uploads/sites/1297/2020/06/Pengenalan-NLTK-Bagian-1.pdf.
Singh, J., Joesph, M.H. and Jabbar, K.B.A. (2019). Rule-based chabot for student enquiries. Journal of Physics: Conference Series, 1228, p.012060. doi:https://doi.org/10.1088/1742-6596/1228/1/012060.
Zebua, T., Nadeak, B. and Bahagia Sinaga, S. (2020). Pengenalan Dasar Aplikasi Blender 3D dalam Pembuatan Animasi 3D. Jurnal ABDIMAS Budi Darma, [online] 1(1), pp.18–21. doi:http://dx.doi.org/10.30865/pengabdian.v1i1.2288.
Gil, M. (2021). Evaluating classification models. Accuracy, Precision and Recall. [online] Medium. Available at: https://chatbotslife.com/evaluating-classification-models-accuracy-precision-and-recall-c40ad8c1b0c0. [Accessed 24 May 2024].









