Implementasi AI Agent Berbasis RAG untuk Klasifikasi Pelanggan KBLI 2025
Abstract
The migration of the ERP system from SAP ECC to SAP S/4HANA requires customer master data to have a complete industry classification that complies with the 2025 Indonesian Standard Industrial Classification (KBLI) to support the implementation of the Business Partner model. This research aims to develop an AI Agent based on Retrieval-Augmented Generation (RAG) to automate the customer classification process within the Master Data Management unit at PT X. The research employs an implementational approach by building a RAG system that integrates the KBLI 2025 knowledge base, hybrid search, and a large language model to classify 235 active customers into five-digit KBLI codes. The system’s performance was evaluated based on the accuracy of the classification results. The research findings indicate that the system achieved an accuracy of 98 per cent and successfully mapped 50 customer line-of-business categories into 21 KBLI Level 1 sectors. These findings demonstrate that the AI Agent is capable of generating standardised customer master data and is ready to support the migration to SAP S/4HANA.
Keywords: AI Agent; Retrieval-Augmented Generation; Hybrid Search; Customer Classification; KBLI 2025
Abstrak
Migrasi sistem ERP dari SAP ECC ke SAP S/4HANA menuntut data master pelanggan memiliki klasifikasi industri yang lengkap dan sesuai dengan standar Klasifikasi Baku Lapangan Usaha Indonesia (KBLI) 2025 agar mendukung implementasi model Business Partner. Penelitian ini bertujuan mengembangkan AI Agent berbasis Retrieval-Augmented Generation (RAG) untuk mengotomasi proses klasifikasi pelanggan di unit Master Data Management PT X. Penelitian menggunakan pendekatan implementatif dengan membangun sistem RAG yang mengintegrasikan basis pengetahuan KBLI 2025, pencarian hibrida, dan large language model untuk mengklasifikasikan 235 pelanggan aktif ke kode KBLI level lima digit. Kinerja sistem dievaluasi berdasarkan tingkat akurasi hasil klasifikasi. Hasil penelitian menunjukkan bahwa sistem mencapai akurasi sebesar 98% serta berhasil memetakan 50 kategori line of business pelanggan ke dalam 21 sektor KBLI Level 1. Temuan ini menunjukkan bahwa AI Agent mampu menghasilkan data master pelanggan yang terstandarisasi dan siap mendukung migrasi ke SAP S/4HANA.
Keywords
References
T. Xu, H. Shi, Y. Shi, and J. You, “From data to data asset: Conceptual evolution and strategic imperatives in the digital economy era,” Asia Pacific Journal of Innovation and Entrepreneurship, vol. 18, no. 1, pp. 2–20, 2024.
S. Karkošková, “Data governance model to enhance data quality in financial institutions,” Information Systems Management, vol. 40, no. 1, pp. 90–110, 2023.
C. Bonthu, “The role of data governance in strengthening ERP and MDM collaboration,” International Journal of Computational and Experimental Science and Engineering, vol. 11, no. 2, pp. 1–12, 2025.
P. Brous, M. Janssen, and R. Krans, “Data governance as success factor for analytics: An exploratory case study,” International Journal of Information Management, vol. 73, art. 102685, 2023.
Leovin, J. Tji Beng, and E. Dewayani, “Business to business e-commerce sales system using web-based quotation: A case study on company X,” IOP Conference Series: Materials Science and Engineering, vol. 1007, no. 1, art. 012156, 2020.
G. Chaubey, P. R. Gavhane, D. Bisen, and S. K. Arjaria, “Customer purchasing behavior prediction using machine learning classification techniques,” Journal of Ambient Intelligence and Humanized Computing, vol. 14, no. 12, pp. 16133–16157, 2023.
M. Z. Abedin, P. Hajek, T. Sharif, M. S. Satu, and M. I. Khan, “Modelling bank customer behaviour using feature engineering and classification techniques,” Research in International Business and Finance, vol. 65, art. 101913, 2023.
L. Loukas, I. Stogiannidis, P. Malakasiotis, and S. Vassos, “Making LLMs worth every penny: Resource-limited text classification in banking,” in Proceedings of the 4th ACM International Conference on AI in Finance (ICAIF), pp. 392–400, 2023.
L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, et al., “A survey on large language model based autonomous agents,” Frontiers of Computer Science, vol. 18, no. 6, art. 186345, 2024.
Akrour, E. Kanouni, A. Messeguem, and R. Karouche, “The rise of agentic AI: A review of definitions, frameworks, architectures, applications, evaluation metrics, and challenges,” Future Internet, vol. 17, no. 9, art. 404, 2025.
P. Lewis, E. Perez, A. Piktus, F. Petroni, V. Karpukhin, N. Goyal, et al., “Retrieval-augmented generation for knowledge-intensive NLP tasks,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 33, pp. 9459–9474, 2020.
J. Schneider, P. Spitzer, and G. Satzger, “Retrieval-augmented generation (RAG),” Business & Information Systems Engineering, vol. 67, pp. 1–8, 2025.
S. Pan, L. Luo, Y. Wang, C. Chen, J. Wang, and X. Wu, “Unifying large language models and knowledge graphs: A roadmap,” IEEE Transactions on Knowledge and Data Engineering, vol. 36, no. 7, pp. 3580–3599, Jul. 2024.
S. Sturua, M. Khan, R. Kumar, and T. Lin, “Hybrid search engine for enterprise document retrieval: Combining dense and sparse approaches,” Future Generation Computer Systems, vol. 159, pp. 234–249, 2024.
J. Lin, R. Nogueira, and A. Yates, Pretrained Transformers for Text Ranking: BERT and Beyond. Morgan & Claypool Publishers, 2021.
S. Karkošková, “Data governance maturity model for digitally transformed enterprises,” Information Systems Management, vol. 41, no. 2, pp. 145–168, 2024.
P. Brous, M. Janssen, and P. Herder, “The dual effects of the Internet of Things (IoT): A systematic review of the benefits and risks of IoT adoption by organizations,” International Journal of Information Management, vol. 51, art. 101952, 2020.
K. Soto, A. Mendoza, and F. Reyes, “Transforming data annotation with AI agents: A review of architectures, reasoning, applications, and impact,” Future Internet, vol. 17, no. 8, art. 353, 2025.
V. H. Wangi, J. Tji Beng, and Wasino, “Start to end: Recommended travel routes based on tourist preference,” IOP Conference Series: Materials Science and Engineering, vol. 852, no. 1, art. 012163, 2020.
A. Y. Anggie and J. T. Beng, “Perancangan aplikasi berbasis web untuk pemesanan produk eksterior dan interior pada bengkel las Krisna,” Jurnal Ilmu Komputer dan Sistem Informasi, vol. 11, no. 1, pp. 43–48, 2023.
F. Lusiana, J. Tji Beng, and Wasino, “Grouping of tourism objects using geotagged photo with hierarchical clustering method in Bantul and Sleman,” IOP Conference Series: Materials Science and Engineering, vol. 852, no. 1, art. 012166, 2020.
R. Abraham, J. Schneider, and J. vom Brocke, “Data governance: A conceptual framework, structured review, and research agenda,” International Journal of Information Management, vol. 49, pp. 424–438, 2019.
Gao Y, Xiong Y, Gao X, Jia K, Pan J, Bi Y, et al. Retrieval-Augmented Generation for Large Language Models: A Survey. 2024 Mar 27.
Luan Y, Eisenstein J, Toutanova K, Collins M. Sparse, Dense, and Attentional Representations for Text Retrieval. Trans Assoc Comput Linguist. 2021 Apr 26;9:329–45. doi:10.1162/tacl_a_00369
Guo Z, Xia L, Yu Y, Ao T, Huang C. LightRAG: Simple and Fast Retrieval-Augmented Generation. 2025 Apr 28.
Salemi A, Zamani H. Evaluating Retrieval Quality in Retrieval-Augmented Generation. 2024 Apr 21.
Sudhi V, Bhat SR, Rudat M, Teucher R. RAG-Ex: A Generic Framework for Explaining Retrieval Augmented Generation. In: Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. New York, NY, USA: ACM; 2024. p. 2776–80. doi:10.1145/3626772.3657660
Es S, James J, Espinosa-Anke L, Schockaert S. Ragas: Automated Evaluation of Retrieval Augmented Generation. 2025 Apr 28.
How To Cite This :
Refbacks
- There are currently no refbacks.










