Advancing Payroll Automation: An AI-Powered Chatbot Utilizing RAG, Cosmos DB, and Azure OpenAI
DOI:
https://doi.org/10.66069/ojspub.16560609Keywords:
Payroll Automation, Retrieval-Augmented Generation (RAG), AI-Powered Chatbots, Cosmos DBAbstract
Payroll management is a critical yet complex domain, often burdened with manual processes, data navigation challenges, and delayed insights. This paper presents an advanced AI-powered chatbot designed to revolutionize payroll automation by leveraging Retrieval-Augmented Generation (RAG), Cosmos DB, and Azure OpenAI. Integrated with a user-friendly portal, the chatbot enables clients and partners to seamlessly interact using natural language, eliminating the need for complex navigation or manual data retrieval. To ensure real-time, accurate, and context-aware responses, the system incorporates RAG for dynamic data integration from external knowledge bases, enhancing the chatbot's relevance and reliability. A monthly data synchronization mechanism with a vector database ensures the chatbot is continuously updated with the latest payroll processing information. Advanced token optimization strategies, using ContentMaxToken and RAGMaxToken variables, further enhance performance by overcoming token limitations and minimizing resource consumption. Security is paramount, with Azure Key Vault used to securely store and retrieve sensitive secrets. Cosmos DB serves as a highly scalable database for managing chat history and vectors, supporting diverse use cases such as real-time personalization, high throughput IoT data, and mission-critical workloads. A caching mechanism further reduces token usage and latency, improving the chatbot's overall efficiency. Developed using ASP.NET Core 8, Angular v18, and Azure OpenAI, this robust architecture demonstrates the transformative potential of AI in streamlining payroll operations. The system offers a secure, scalable, and intelligent solution that enhances client engagement, accelerates decision-making, and redefines payroll automation for modern enterprises.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Srivatsa Chetlur

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /www/bryanhousepub/ojs/plugins/generic/citations/CitationsPlugin.inc.php on line 49

