Design And Development of an NLP-Based Chatbot For Information Services
Main Article Content
Abstract
Pondok Pesantren Modern AL-Ikhlas Putri faces difficulty in providing information services that are accessible at any time, since existing information channels rely on staff who can only be reached during limited working hours, making it hard for students, teachers, prospective students' parents, and the general public to obtain quick answers outside those hours. This study aims to design and build an NLP-based information service chatbot that functions as a round-the-clock virtual assistant for answering questions about the pesantren's activities, curriculum, facilities, and general information. The system was developed using a three-tier architecture consisting of a user interface (React.js), a Backend-for-Frontend server (Node.js), and an AI/ML service (Flask). A Natural Language Processing approach was applied by leveraging the pre-trained IndoBERT model to transform user questions into vector embeddings, and Cosine Similarity was then used to measure the semantic similarity between a user's query and an FAQ-formatted knowledge base. Black box testing showed that the chatbot was able to return accurate and relevant answers at any time, including for varied sentence structures and questions containing typographical errors, confirming that the semantic retrieval mechanism functioned effectively. The resulting chatbot provides an innovative digital solution that makes information about the pesantren accessible around the clock, supporting digital transformation in pesantren-based education.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
References
Boykis, V. (2023). What are embeddings? Zenodo. https://doi.org/10.5281/zenodo.8015029
Cahn, J. (2017). Chatbot: Architecture, design, & development [Master's thesis, University of Pennsylvania].
El Naqa, I., & Murphy, M. J. (2015). What is machine learning? In Machine learning in radiation oncology:
Theory and applications (pp. 3–11). Springer.
Fahadra, L. (2023). Sistem chatbot layanan informasi tugas akhir menggunakan metode Long Short-Term Memory
(LSTM) [Skripsi, Universitas Islam Sultan Agung].
Hikmah, N., Ariyanti, D., & Pratama, F. A. (2022). Implementasi chatbot sebagai virtual assistant di Universitas
Panca Marga Probolinggo menggunakan metode TF-IDF. JTIM: Jurnal Teknologi Informasi dan
Multimedia, 4(2), 133–148.
Ibadurrahman, I., Yusuf, F., & Budianto, H. (2025). Implementasi chatbot berbasis Natural Language Processing
(NLP) menggunakan model BERT untuk meningkatkan pelayanan klinik gigi. Rabit: Jurnal Teknologi
dan Sistem Informasi Univrab, 10(2), 325–334. https://doi.org/10.36341/rabit.v10i2.6061
Khan, F. S., Al Mushabbir, M., Irbaz, M. S., & Al Nasim, M. D. A. (2021). End-to-end natural language
understanding pipeline for Bangla conversational agents. In 2021 20th IEEE International Conference
on Machine Learning and Applications (ICMLA) (pp. 205–210). IEEE.
Maharani, D., & Wardhana, K. E. (2024). Digitalisasi sistem administrasi sekolah dengan pembuatan website di
SD Negeri Loa Kulu. Novara: Nusantara Education and Innovation Journal, 1(3), 133–141.
Manning, C. D. (2008). Introduction to information retrieval. Syngress Publishing.
Mulyatun, S., Utama, H., & Mustopa, A. (2021). Pendekatan Natural Language Processing pada aplikasi chatbot
sebagai alat bantu customer service. Journal of Information System Management (JOISM), 2(2), 12–17.
Pramana, R. A., & Romadhony, A. (2024). Identifikasi similar question dengan IndoBERT (Studi kasus dataset
QAS Covid-19). LOGIC: Jurnal Penelitian Informatika, 2(1), 12–17.
Rizqiyah, P. (2024). Analisis sentimen vaksin Covid-19 di Indonesia menggunakan model bahasa XLMR dan
teknik augmentasi data [Tesis, Universitas Indonesia].
Umar, T. M., Chaerowati, D. L., & Drajat, M. S. (2023). Digital literacy of santri through Islamic boarding school
culture. KnE Social Sciences, 380–392.
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017).
Attention is all you need. Advances in Neural Information Processing Systems, 30.
Wilie, B., Vincentio, K., Winata, G. I., Cahyawijaya, S., Li, X., Lim, Z. Y., Soleman, S., Mahendra, R., Fung, P.,
Bahar, S., & Purwarianti, A. (2020). IndoNLU: Benchmark and resources for evaluating Indonesian
natural language understanding. arXiv preprint arXiv:2009.05387.
Wintoro, P. B., Hermawan, H., Muda, M. A., & Mulyani, Y. (2022). Implementasi Long Short-Term Memory
pada chatbot informasi akademik Teknik Informatika Unila. Expert: Jurnal Manajemen Sistem Informasi
dan Teknologi, 12(1), 68.