PENGEMBANGAN CHATBOT BERBASIS LLM DAN RAG UNTUK LAYANAN INFORMASI PEMBUATAN KTP ELEKTRONIK

Authors

  • Ellbert Hutabri Universitas Putera Batam
  • Mariska Putri Pratiwi Universitas Putera Batam

DOI:

https://doi.org/10.33884/psnistek.v8i1.11741

Keywords:

chatbot, LLM, RAG, Batam, Pelayanan Publik

Abstract

Population administration services, particularly the issuance of electronic ID cards (e-KTP), still face the classic problem of insufficient clear information regarding requirements, procedures, and estimated completion times, often forcing the public to make repeated visits to the Population and Civil Registration Office (Disdukcapil). The City of Batam has implemented innovations such as the Electronic Population Service application (LAKSE), yet interactive information channels capable of answering citizens' questions directly, quickly, and contextually remain limited. The development of Large Language Models (LLMs) has opened significant opportunities for building public information service chatbots; however, generic LLMs are prone to hallucination—producing answers that sound convincing but are inaccurate or inconsistent with current regulations. This research aims to design and develop an LLM-based chatbot enhanced with a Retrieval-Augmented Generation (RAG) approach to accurately answer public questions related to e-KTP issuance in the City of Batam, since the generated answers are retrieved and referenced directly from an official knowledge base such as Disdukcapil regulations, administrative requirements, and LAKSE procedures. The development method employs a software engineering approach comprising the stages of document collection and cleaning, embedding into a vector database, integration of the retrieval mechanism with the LLM, and testing of answer accuracy using semantic similarity metrics and expert evaluation. The expected outcome of this research is a chatbot prototype capable of providing relevant, contextual, and accountable information, thereby reducing staff workload, shortening public waiting times, and supporting the transformation of digital public services in line with the implementation of the Electronic-Based Government System (SPBE) within local government environments.

References

Anam, M. R., Akbar, A. S., & Sapto, H. (2024). QnA Chatbot with Mistral 7B and RAG method : Traffic Law Case Study. 15(3), 207–218.

Fathurokhman, D., & Lodan, K. T. (2022). KEPENDUDUKAN SECARA ELEKTRONIK ( LAKSE ) DI KOTA BATAM.

Firdaus, D., Sumardi, I., & Kulsum, Y. (2024). Integrating Retrieval-Augmented Generation with Large Language Model Mistral 7b for Indonesian Medical Herb. 9(3), 230–243.

Hutabri, E., Fauzi, R., Yusran, & Pratiwi, M. P. (2025). PERANCANGAN MEDIA EDUKASI INTERKATIF CHATBOT BERBASIS AI DALAM MENINGKATKAN PEMAHAMAN MATERI BAHASA INGGRIS SISWA SMA. Jurnal Sains Informatika Terapan (JSIT), 4(2), 252–257. https://doi.org/https://doi.org/10.62357/jsit.v4i2.603

Jarti, N., Hutabri, E., & Putri, W. L. (2023). Enhancing data accuracy with design of a web-based citizen data management application for neighborhood / residential unit. 8(November), 649–657.

Novienty, D. E. R. F., & Younus, M. (2025). Application of Digital Maturity Framework in Improving the Performance of Public Sector Organizations in Indonesia. 29(May), 39–54. https://doi.org/10.22146/jkap.104081

Paritranaya, P. W. (2025). TOWARDS MORE EFFECTIVE PUBLIC SERVICES : E - READINESS ANALYSIS OF INDONESIA ’ S BNN ONE STOP SERVICE ( BOSS ). 29(November), 30–43. https://doi.org/10.22146/jkap.99003

Pujiono, I., Agtyaputra, I. M., & Ruldeviyani, Y. (2024). IMPLEMENTING RETRIEVAL-AUGMENTED GENERATION AND VECTOR DATABASES FOR CHATBOTS IN PUBLIC SERVICES AGENCIES CONTEXT. 10(1), 216–223. https://doi.org/10.33480/jitk.v10i1.5572.

Tasks, K. N. L. P., Lewis, P., Perez, E., Apr, C. L., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., & Küttler, H. (n.d.). Retrieval-Augmented Generation for.

Vaswani, A. (2017). Attention Is All You Need. Nips.

Zhang, Y., Li, Y., Cui, L., Cai, D., Liu, L., Fu, T., Huang, X., Zhao, E., Zhang, Y., Chen, Y., Wang, L., Luu, A. T., Bi, W., Shi, F., & Shi, S. (2025). Siren’s Song in the AI Ocean: A Survey on Hallucination in Large Language Models Yue. Computational Linguistics, 51(4), 1373–1418. https://doi.org/10.1162/coli.a.16

Published

2026-07-18

How to Cite

Hutabri, E., & Pratiwi, M. P. . (2026). PENGEMBANGAN CHATBOT BERBASIS LLM DAN RAG UNTUK LAYANAN INFORMASI PEMBUATAN KTP ELEKTRONIK. Prosiding Seminar Nasional Ilmu Sosial Dan Teknologi (SNISTEK), 8(1), 52–61. https://doi.org/10.33884/psnistek.v8i1.11741

Issue

Section

Articles