Development of an Academic Services Chatbot Based on Retrieval-Augmented Generation (RAG)

Authors

  • Mohammad Labib Husain Universitas Pendidikan Indonesia, Indonesia
  • Yudi Wibisono Universitas Pendidikan Indonesia, Indonesia
  • Ani Anisyah Universitas Pendidikan Indonesia, Indonesia

DOI:

https://doi.org/10.47709/brilliance.v5i2.6719

Keywords:

Academic Services, AI assistant, Chatbot, Large Language Model, Retrieval-Augmented Generation, RAGAS

Abstract

Higher education institutions struggle to provide accurate and accessible academic information. Traditional chatbots are often limited in capability, while standard Large Language Models (LLMs) pose a significant risk of factual "hallucinations," rendering them unsuitable for official university use where trustworthiness is paramount. This study aims to increase the accessibility and effectiveness of academic services by developing a trustworthy chatbot. The primary objective is to implement the Retrieval-Augmented Generation framework to create a reliable AI assistant that is factually grounded in a verified, domain-specific knowledge base. A knowledge base was constructed from official FPMIPA UPI documents and structured using hierarchical chunking. The system employs a multi-stage RAG pipeline featuring query contextualization and reranking before generation with Gemini 2.5 Pro. Performance was evaluated using metrics from the RAGAS framework on a 100-question dataset categorized into factual, reasoning, and out-of-context queries. The evaluation revealed strong performance on factual queries, achieving a Faithfulness score of 0.9100. A significant performance decrease was observed for reasoning tasks, with Context Recall dropping to 0.5926. Crucially, the system successfully handled 81.25% of out-of-context questions by correctly refusing to answer, thereby effectively preventing hallucination. The RAG framework provides a viable and empirically-validated blueprint for creating a trustworthy conversational AI for higher education. The model proves to be an effective tool for factual information delivery and has strong potential to modernize how student support and academic services are delivered.

References

Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., … Amodei, D. (2020). Language models are few-shot learners. Advances in Neural Information Processing Systems, 33, 1877-1901.

Dhingra, B., Cole, J. R., Eisenschlos, J. M., Gillick, D., Eisenstein, J., & Cohen, W. W. (2022). Time-aware language models as temporal knowledge bases. Transactions of the Association for Computational Linguistics, 10, 257-273.

Erickson, J. S., Santos, H., Pinheiro, V., Mccusker, J. P., & Mcguinness, D. L. (2025). LLM experimentation through knowledge graphs: towards improved management, repeatability, and verification. Journal of Web Semantics, 85, 100853.

Es, S., de Jong, J., Al-Itejawi, T., & de Rijke, M. (2023). RAGAS: automated evaluation of retrieval augmented generation. arXiv preprint arXiv:2309.15217.

Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., ... & Sun, H. (2023). Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997.

Ji, Z., Lee, N., Frieske, R., Yu, T., Su, D., Xu, Y., ... & Fung, P. (2023). Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12), 1–38.

Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., ... & Kiela, D. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, 33 (pp. 9459-9474).

Mahlatse, S. H. E. K. G. O. L. A. (2024). Utilising Artificial Intelligence Chatbots for Student Support at Comprehensive Open Distance E-learning Higher Learning Institutions in the Fifth Industrial Revolution (Doctoral dissertation, University of South Africa).

Okonkwo, C. W., & Ade-Ibijola, A. (2021). Chatbots applications in education: A systematic review. Computers and Education: Artificial Intelligence, 2, 100033.

Rahim, N. I. M., Iahad, N. A., Yusof, A. F., & Al-Sharafi, M. A. (2022). AI-based chatbots adoption model for higher-education institutions: A hybrid PLS-SEM-neural network modelling approach. Sustainability, 14(19), 12726.

Singh, S. U., & Namin, A. S. (2025). A survey on chatbots and large language models: testing and evaluation techniques. Natural Language Processing Journal, 9, 100128.

Singun, A. J. (2025). Unveiling the barriers to digital transformation in higher education institutions: a systematic literature review. Discover Education, 4(1), 37.

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems, 30.

Wu, S., Xiong, Y., Cui, Y., Wu, H., Chen, C., Yuan, Y., ... & Xue, C. J. (2024). Retrieval-augmented generation for natural language processing: A survey. arXiv preprint arXiv:2407.13193.

Zhao, W. X., Zhou, K., Li, J., Tang, T., Wang, X., Hou, Y., ... & Wen, J. R. (2023). A survey of large language models. arXiv preprint arXiv:2303.18223.

Downloads

Published

2025-08-12

How to Cite

Husain, M. L., Wibisono, Y., & Anisyah, A. (2025). Development of an Academic Services Chatbot Based on Retrieval-Augmented Generation (RAG). Brilliance: Research of Artificial Intelligence, 5(2), 727–735. https://doi.org/10.47709/brilliance.v5i2.6719

Citation Tracker

Cited by: 21 documents

2026: 19  ·  2025: 2

  1. Perancangan Chatbot Berbasis Website untuk Layanan Akademik Menggunakan Knowledge Base Lokal di Universitas Bina Bangsa Getsempena
    Rezky Riza Andhika, Lili Kasmini, Khairuman Khairuman
    CHAIN Journal of Computer Technology Computer Engineering and Informatics , 2026
  2. Reliable Indonesian Academic Service Chatbot Using Retrieval-Augmented Generation and Adaptive Refusal
    Jarot Budiasto, Tatik Melinda Tallulembang, Selfina Pare, Muhammad Hasbi
    Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi) , 2026
  3. Evaluating a Hybrid Local Semantic Retrieval and RAG Architecture for Administrative Support in Higher Education: a Case Study
    Armando Carrillo Rincón, Jorge-Ernesto González-Diaz, Yara Anahí Jiménez Nieto, Rivka Hanna Hael Nava, Carlos Aldair Velázquez Rodríguez, Martín Mancilla Gómez
    Communications in computer and information science , 2026
  4. Large Language Model-Based Intelligent Virtual Assistant for Academic Service Automation
    N.Srimathi, B. Padma, Girinath.U, Mouneshwaran.M, Sanjana.V, Sakthi Ganapathi.S
    2026
  5. RANCANG BANGUN SISTEM RAG UNTUK MANAJEMEN DOKUMENTASI AKREDITASI PROGRAM STUDI
    Kyan Dillan Verado, Ryan Putranda Kristianto
    JURNAL ILMIAH PENELITIAN MAHASISWA , 2026
  6. NexGen Tutor: An Adaptive AI-Powered Learning Chatbot Using Retrieval-Augmented Generation and Personalized Pedagogy
    Andhavarapu Eekshita, Devaguptapu Sravani, Bonagiri Lakshmi Sowjanya, Prabakaran S
    International Conference on Distributed Systems, Computer Networks and Cybersecurity (ICDSCNC) , 2026
  7. Development of an Information Service Chatbot for University Websites Based on Natural Language Processing (NLP) and Retrieval-Augmented Generation (RAG)
    Zuhri Yanda, Yeni Yanti, Maulinda, Sabrina
    IC-ITECHS , 2026
  8. Implementasi Retrieval-Augmented Generation dan Semantic Search pada Chatbot Artificial Intelligence Berbasis Web untuk Optimalisasi Layanan Akademik
    Muhammad Saiful, Samsu Samsu, Imam Fathurrahman, Amri Muliawan Nur
    Infotek Jurnal Informatika dan Teknologi , 2026
  9. RAG ile kurumsal yapay zekâ asistanı geliştirmek: Bir öğrenci destek hizmetleri asistanı örneği
    Fatma Topuz Eryürük, Mehmet Fırat
    Açıköğretim Uygulamaları ve Araştırmaları Dergisi , 2026
  10. Academic Chatbot for Campus Information Services Using Retrieval-Augmented Generation
    Haddad Alwi Yafie, Achmad Udin Zailani, Widang Muttaqin, Muhammad Sheva Atallah Daffansyah, Muhammad Rafi Ramzi
    SinkrOn , 2026
  11. Retrieval-Augmented Generation Model for Academic Information Systems with SAHAYAK.AI
    Priyadarshi Sharma, Rachna K. Somkunwar, Paresh Patel, Manish Pandit
    International Conference on Information, Implementation, and Innovation in Technology (I2ITCON) , 2026
  12. An LLaMA 3.1-Based Chatbot with Retrieval-Augmented Generation (RAG) for Academic Services at UPN “Veteran” Yogyakarta
    Farel Prayanto, Rifki Indra Perwira
    Digital System and Computing , 2026
  13. AI-Based Chatbot Development for Academic Information Services at Universitas Negeri Medan and an Analysis of Indonesian Language Usage
    Muhammad Rafli Wijaya, Alya Namira, Ananda Syafika, Syairal Fahmy Dalimunthe
    Journal of Artificial Intelligence and Engineering Applications (JAIEA) , 2026
  14. A Systematic Review of AI Chatbots in Education Using NLP and LLMs
    Anila R Nambia, Heigrujam Sheilaja Devi
    International Journal of Latest Technology in Engineering Management & Applied Science , 2026
  15. Evaluating RAG-Based Course Advising Chatbots Using LLM-as-a-Judge Methodology
    Ronit Buti, Abdallah Mohamed
    Western Canadian Conference on Computing Education , 2026
  16. Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks
    Yanming Mu, Hao Hu, Feiyang Li, Qiao Yuan, Jiang Wu, Zichuan Liu, Pengcheng Liu, Mei Wang, Hongwei Zhou, Yuling Liu
    arXiv , 2026
  17. Next - Gen University Helpdesk (NexU)
    S.Hemaswathi, TamilMuthu K, Hariharasuthan K.B, Sathiya Seelan R.P, Sarveen Bala R
    IEEE International Conference on Emerging Computing and Intelligent Technologies (ICoECIT) , 2026
  18. Effective Chunking for Retrieval-Augmented Generation over Structured Institutional Documents
    Siti Sarah Izhan Khalib, Abdul Hadi Abd Rahman, Lailatul Qadri Zakaria
    International Journal of Advanced Computer Science and Applications , 2026
  19. Implementasi Sistem Klasifikasi Batik Menggunakan MobileNet dengan Integrasi Chatbot Retrieval Augmented Generation
    Rizki Purnomo Pratama, Donny Avianto
    Bulletin of Computer Science Research , 2025
  20. AI based Chatbot for Students using RAG in Large Language Models
    R Monica, Mukhesh S, Mahalakshmi M, Madhumathi R.
    International Conference on Smart Electronics and Communication (ICOSEC) , 2025

Source: OpenAlex  · Updated 2026-11-29 06:57 UTC