SCALABLE AND REAL TIME EMBEDDABLE RETRIEVAL-AUGMENTED GENERATION (RAG) ANALYTICS SYSTEM FOR CUSTOMER SERVICE
DOI:
https://doi.org/10.33003/fjs-2025-0910-3969Keywords:
Adaptive customer service, RAG, Chatbot, Real-time systems, Human escalation, AI-driven analyticsAbstract
Customer service has transitioned from traditional face-to-face and phone-based interactions to digital platforms that emphasize speed, scalability, and personalization. Despite these advances, AI-driven tools like chatbots often face challenges in contextual understanding, handling multi-step queries, and enabling smooth escalation, which can lead to dissatisfaction. This research develops a scalable, real-time embeddable Retrieval-Augmented Generation (RAG) analytics system that integrates AI efficiency with human adaptability. The system architecture employs FastAPI, Celery, and Centrifugo for backend processing, ReactJS with Vite for the frontend, and PostgreSQL for secure data handling. It incorporates OpenAI’s GPT-3.5-turbo API for natural language processing and NovuHQ for real-time notifications, ensuring context-aware responses and timely human intervention. An iterative development model guided the design, enabling incremental refinements through continuous feedback from customers, agents, and administrators. Key features include iframe embedding, direct web links, reusable components, real-time chat, Google OAuth authentication, session tracking, analytics, and escalation pathways. Testing confirmed that the system effectively handles routine queries while seamlessly escalating complex cases to human agents. Evaluation results highlight improved scalability, reduced response time, and preserved personalization. Its embeddable design supports adoption across diverse sectors, including SMEs and educational institutions. Future extensions will explore multilingual capabilities, sentiment-driven escalation, and CRM integration for holistic customer relationship management.
References
Adamopoulou, E., & Moussiades, L. (2020). Chatbots: History, technology, and applications. Machine Learning with Applications, 2, 100006. https://doi.org/10.1016/j.mlwa.2020.100006.
Arcega-Punzalan, C.(2025). AI Customer Service – Enhancing Experiences Without Losing the Human Connection Retrieved 23 June 2025 from https://www.amworldgroup.com/blog/ai-customer-service
Coursera (2025). What Is Artificial Intelligence? Definition, Uses, and Types Retrieved 22 July 2025 from https://www.coursera.org/articles/what-is-artificial-intelligence.
Dixon, M., Freeman, K., & Toman, N. (2010). Stop trying to delight your customers. Harvard Business Review. https://hbr.org/2010/07/stop-trying-to-delight-your-customers.
Kumar, V., Ashraf, A. Nadeem, W. (2024). AI-powered marketing: What, where, and how? International Journal of Information Management, Volume 77, 2024, 102783, ISSN 0268-4012, https://doi.org/10.1016/j.ijinfomgt.2024.102783
Rafalski, K. (2025). Why AI Actually Makes Customer Experience More Human? Retrieved 23 June 2025 from https://www.netguru.com/blog/ai-in-customer-experience.
Rane,N.L Achari,A.and Choudhary, S.P.(2023). Enhancing Customer Loyalty Through Quality Of Service:Effective Strategies To Improve Customer Satisfaction,Experience, Relationship, And Engagement. International Research Journal of Modernization in Engineering Technology and Science. Volume:05/Issue:05/May-2023.
Tratta (n.d). AI's Role in Enhancing Customer Communications in Financial Services Retrieved 21 August 2025 from https://www.tratta.io/blog/ai-enhancing-customer-communications-financial-services.
Mayer, V., Schüll, M., Aktürk, O., Guggenberger,T.(2024). Designing Human-AI Hybrids: Challenges and Good Practices from a Multiple CaseStudy. Proceedings of Forty-Fifth International Conference on Information Systems Bangkok, Thailand.
Maheshwaram,V.(2024). The Evolution of Customer Service in the Digital Era. OSR Journal of Business and Management . e-ISSN:2278-487X, p-ISSN: 2319-7668. Volume 26, Issue 10. Ser. 12 (October. 2024), PP 01-05 https://doi.org/10.9790/487X-2610120105.
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2025 Taiwo Adigun, Ibukun Eweoya, Kazeem Sodiq, Oluwabukola F. Ajayi, Folashade Ayankoya, Oyebola Akande, Olusogo Adetunji

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