Pengembangan Aplikasi Question Answering Berbasis Retrieval-Augmented Generation Menggunakan Qwen3-8B untuk Pencarian Informasi Toko Elektronik di Palembang
Original Full-Text Article
Download published version for reading and archivingAbstract
Large Language Models (LLMs) can generate fluent responses but may produce unsupported answers in domain-specific settings. This study developed and evaluated a question answering application for electronic-store information retrieval in Palembang by integrating Qwen3-8B with Retrieval-Augmented Generation (RAG). Using Design Science Research, the study produced a web application supported by a knowledge base of 1,019 product records from eight stores. Each record contained six attributes: store name, address, telephone number, Google Maps link, category, and product name. The data were converted into 768-dimensional embeddings using sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 and stored in ChromaDB. The system retrieved the top five records based on cosine similarity and applied a 0.65 threshold before supplying context to Qwen3-8B through the Groq API. Evaluation used 200 queries; positive labels indicated available information, whereas negative labels indicated unavailable or out-of-scope information. Responses were classified as true positives (TP) when positive queries were answered correctly, true negatives (TN) when negative queries were rejected correctly, false positives (FP) when negative queries received answers, and false negatives (FN) when positive queries were rejected or not answered. Testing yielded TP=143, TN=5, FP=34, and FN=18, with 74.00% accuracy, 80.79% precision, 88.82% recall, and an 84.61% F1-score. Errors occurred with short ambiguous queries, semantic overlap, local terminology, and typographical variation. RAG supplied retrieved context as the basis for responses, but rejection of queries outside the knowledge base remains limited.
Author Biographies
Program Studi Teknik Informatika, Fakultas Sains dan Teknologi, Universitas Bina Darma, Kota Palembang, Provinsi Sumatera Selatan, Indonesia
Program Studi Teknik Informatika, Fakultas Sains dan Teknologi, Universitas Bina Darma, Kota Palembang, Provinsi Sumatera Selatan, Indonesia
Program Studi Teknik Informatika, Fakultas Sains dan Teknologi, Universitas Bina Darma, Kota Palembang, Provinsi Sumatera Selatan, Indonesia
Program Studi Teknik Informatika, Fakultas Sains dan Teknologi, Universitas Bina Darma, Kota Palembang, Provinsi Sumatera Selatan, Indonesia
How to Cite
This work is licensed under a Copyright (c) 2026 Dhini Novely Saputri, Heri Suroyo, Leon A. Abdillah, M. Soekarno Putra .
This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .
- Share: You are free to copy, distribute, and transmit the work in any medium or format.
- Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
References
Total: 12 References- Asai, A., Wu, Z., Wang, Y., Sil, A., & Hajishirzi, H. (2024). Self-RAG: Learning to retrieve, generate, and critique through self-reflection. International Conference on Learning Representations (ICLR).
- Es, S., James, J., Espinosa-Anke, L., & Schockaert, S. (2024). RAGAs: Automated evaluation of retrieval augmented generation. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations (pp. 150–158). https://doi.org/10.18653/v1/2024.eacl-demo.16
- Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., Dai, Y., Sun, J., Wang, M., & Wang, H. (2023). Retrieval-augmented generation for large language models: A survey [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2312.10997
- Gupta, S., Ranjan, R., & Singh, S. N. (2024). A comprehensive survey of retrieval-augmented generation (RAG): Evolution, current landscape and future directions [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2410.12837
- Huang, L., Yu, W., Ma, W., Zhong, W., Feng, Z., Wang, H., Chen, Q., Peng, W., Feng, X., Qin, B., & Liu, T. (2025). A survey on hallucination in large language models: Principles, taxonomy, challenges, and open questions. ACM Transactions on Information Systems, 43(2), Article 42. https://doi.org/10.1145/3703155
Similar Articles
Articles sharing related keywords and machine learning classifications:
Most read articles by the same author(s)
Other papers published by author(s) in this journal: