Optimalisasi Sistem Chatbot Layanan Pelanggan E-Commerce melalui Kombinasi Rule-Based dan Algoritma K-Nearest Neighbor (KNN)
Keywords:
Enter five to eight keywords and separate them with a semicolon tisfaction, Cost Efficiency, E-CommerceAbstract
This research aims to design and evaluate a hybrid chatbot prototype that combines a rule-based approach with the K-Nearest Neighbor (KNN) algorithm to classify customer satisfaction levels. This system was developed as an automated customer service solution for the e-commerce sector, which demands speed, efficiency, and personalization. By using numerical features such as information comprehension (X1), chatbot rating (X2), and conversation duration (X3), the KNN algorithm determines whether a user is satisfied or not after an interaction session. The classification results indicate that some "Dissatisfied" predictions occurred in cases with high information comprehension but also long conversation durations. This suggests that customers can still be dissatisfied if the service time is perceived as too long, even if the content of the answer is clear. Although there is a margin of error in the user experience aspect, the system demonstrates a very significant impact on operational efficiency. The implementation of the hybrid chatbot was able to reduce customer service costs by up to 50%, with an estimated payback period of 4.8 months. The system provides significant added value for businesses, particularly in terms of cost savings and scalability, although there is still room for improvement in the quality of interaction.
References
[1] American Public University. (2023). Introduction to K-Nearest Neighbor Algorithm. APU Online Library. https://www.apu.apus.edu
[2] IBM. (2023). The Rise of Conversational AI in Customer Experience IBM Research. https://www.ibm.com/reports/conversat ional-ai
[3] Li, X., Chen, Y., & Huang, M. (2023). Can AI chatbots help retain customers? An integrative perspective. Technological Forecasting and Social Change, 194, 122527. https://doi.org/10.1016/j.techfore.2023. 122921
[4] Moitra, D., & Mukherjee, P. (2020). Chatbots: History, technology, and applications. ResearchGate. https://www.researchgate.net/publication/ 345815999
[5] NexGenCloud. (2024). How AI and RAG Chatbots Cut Customer Service Costs by Millions. https://www.nexgencloud.com/blog/case- studies
[6] Nugroho, T., & Lestari, D. (2024). Application of K-Nearest Neighbor Algorithm for Consumer Behaviour Identification and Product Personalisation. Journal of Big Data Analytics, 8(2), 45–55. https://www.researchgate.net/publication/ 385507485
[7] Omnisend. (2024). Omnisend Ecommerce Statistics Report 2024. https://www.omnisend.com
[8] Pratama, R. A., Yusuf, A., & Fitriani, L. (2024). Classification of Customer Satisfaction Using K-Nearest Neighbor. International Journal of Computer Science and Engineering, 12(1), 1–9. https://journal.lembagakita.org/index.php/i jsecs/article/view/2948
[9] Trade.gov. (2024). Indonesia E-Commerce. International Trade Administration. https://www.trade.gov/country-commercial-guides/indonesia-ecommerce
[10] Zara, D. (2023). Measuring AI Chatbot ROI: Case Studies. DialZara Insights. https://dialzara.com/blog/measuring-ai- chatbot-roi-case-studies
[11] Zhou, J., Wang, C., & Zhang, H. (2023). Comparison of Rule-Based Chat Bots with Different Machine Learning Methods. Procedia Computer Science, 217, 235–242. https://doi.org/10.1016/j.procs.2025.04.03
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Jurnal Publikasi Ilmu Komputer dan Multimedia

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.






