See how Rapyder built a GenAI chatbot for banking compliance on Microsoft Teams, with grounded policy answers and digitized disclosure workflows.

In short
Executive Summary
A bank serving millions of customers needed employees to find accurate policy answers without routing routine questions to HR and compliance teams. Rapyder built a GenAI chatbot for banking compliance on Microsoft Teams that returns grounded, department-aware answers in 3–6 seconds, cutting manual policy-lookup effort by up to 70%. A Power Platform module replaced email-based disclosure and pre-clearance forms with centrally recorded workflows, completing a business transformation from manual support to self-service.
About Customer
The customer is a bank in India that began as a microfinance company focused on financial inclusion. It now provides retail, corporate and wealth management services across multiple states. Thousands of employees need to navigate internal policies, HR documents, regulatory circulars and compliance guidelines.
Problem Statement
Employees needed faster access to accurate, context-specific answers from a growing collection of policies, regulatory circulars and internal documents. Routine questions repeatedly reached HR and compliance teams, while state-level policy variations made consistent interpretation difficult. At the same time, disclosure and pre-clearance forms were handled through email without centralized tracking or clear audit visibility. Any AI solution also had to restrict information by department, ground every answer in approved documents and maintain fast response times.
Business Challenges
Employees struggled to quickly access accurate, context-specific information from complex organizational policies, regulatory circulars, and internal documents, leading to repeated queries to support teams and inconsistent interpretations of policy.
Operations across multiple states with varying policies meant there was no dynamic, real-time access mechanism, causing significant delays and a poor employee experience.
There was heavy reliance on HR and compliance personnel to manually answer routine policy and document questions, reducing operational efficiency.
Compliance forms such as disclosures and pre-clearance requests were handled manually via emails without centralized tracking or audit visibility.
Any AI-driven solution needed to enforce role-based access control so employees only saw content authorized for their department, while maintaining conversation context, source attribution, and low response latency.
Solution Implemented
Built an automated document ingestion pipeline where cloud admins upload PDFs, Word files, and Excel sheets to department-wise folders in Azure Blob Storage, triggering an Azure Function that extracts content via standard text extraction or Azure AI Document Intelligence OCR for scanned documents.
Processed extracted text into context-aware chunks and used Azure OpenAI Embeddings to generate vector embeddings, stored in a custom Azure AI Search index along with metadata such as department, file name, and chunk number.
Routed employee queries submitted in Microsoft Teams securely through Azure Bot Service, Azure API Management, and Azure Application Gateway (with WAF and SSL termination) to a backend hosted on Azure Virtual Machine Scale Sets for high availability and auto-scaling.
Enriched each query with session context stored in Azure Cosmos DB to maintain coherence across multi-turn conversations, and performed department-aware semantic search against the Azure AI Search index so employees only accessed authorized data.
Added a semantic caching layer that stores frequently asked or semantically similar queries with similarity scoring, serving cached responses instead of reprocessing the full RAG pipeline, with an automatic 24-hour refresh to prevent stale answers.
Sent retrieved document chunks to Azure OpenAI GPT-4o at the time of delivery to generate the final context-aware response, delivered back to the employee in Teams with RBAC-based secure document download links.
Built a retry feature allowing users to reprocess a previous query with refreshed search results, a feedback mechanism storing employee ratings in Cosmos DB, and a vector delete workflow that removes corresponding embeddings from Azure AI Search whenever a document is deleted from Blob Storage.
Set up Azure Monitor and Application Insights to track cost analysis, feedback analysis, performance metrics, semantic cache hit rates, top queries, and top users.
Built a separate compliance automation module using Microsoft Power Apps to digitize Self & Immediate Disclosure, Quarterly Disclosure, and Pre-Clearance form submissions, storing data in SharePoint Lists for centralized tracking, with Microsoft Power Automate generating a PDF copy in OneDrive and sending an automated acknowledgement email.
Technology Stack
- Azure Virtual Machine Scale Set (VMSS)
- Azure AI Document Intelligence
- Azure AD App Registration
- Azure API Management
- Azure Application Gateway
- Azure AI Search
- Azure Bot Service
- Azure Cosmos DB
- Azure Blob Storage
- Azure Functions
- Azure OpenAI
- Microsoft Graph API
- Microsoft Power Apps
- Microsoft Power Automate
- SharePoint
- OneDrive
Business Benefits
- 20-25% improvement in operational efficiency – Real-time retrieval of policy documents, HR guidelines, and regulatory circulars gives employees instant access to accurate, approved information.
- Up to 70% less manual effort in policy lookup – Automated document ingestion, embedding generation, and semantic search using Azure Functions, Azure OpenAI, and Azure AI Search streamline information retrieval and reduce human error.
- Query response time cut from hours to 3-6 seconds – Azure OpenAI GPT-4o combined with semantic caching enables timely, data-driven decisions for HR, compliance, and operations teams.
- Scalable without performance loss – The solution handles growing query volumes and document counts using VMSS, Azure Functions, Cosmos DB, and semantic caching.
- 25-30% cost savings in internal support overhead – Reduced manual query handling and Azure’s consumption-based pricing, combined with semantic caching to minimize repeated LLM calls, lower compute and API costs.
- Stronger security and compliance – Azure API Management, department-based access control via metadata filtering, Azure AD authentication via Microsoft Graph API, and encryption at rest and in transit reduce unauthorized access risk.
- 100% of disclosures centrally recorded – The compliance automation module ensures every disclosure is captured and easily accessible for audits.
- 60-70% less manual documentation effort – The compliance module eliminates email-based submissions for disclosure and pre-clearance forms.
- Up to 80% faster compliance processing turnaround – Instant submission and automated acknowledgement replace manual, email-based workflows.
- 30-40% improved employee satisfaction with compliance forms – A simple UI and automated confirmations improve the compliance submission experience.
Key Takeaways
Ready for a GenAI-led business transformation in policy access and compliance?
Frequently Asked Questions
Banks can use GenAI chatbots to retrieve approved policies, HR guidelines and regulatory circulars through natural-language questions. In this implementation, the chatbot searches authorized document chunks, generates a grounded response and returns it in Microsoft Teams with source links.
Department metadata is added during document ingestion, and search results are filtered using the employee's department retrieved through Microsoft Graph API. Azure AD authentication, encryption, API controls and secure document links further restrict access and reduce cross-department data exposure.
Responses are grounded in retrieved document chunks through RAG and include links to their sources. When the required information is absent from the approved documents, the chatbot returns an explicit information-not-found response instead of generating an unsupported policy answer.
A semantic-caching layer stores frequently asked or semantically similar queries with similarity scoring. It serves a cached response instead of repeating the full retrieval and generation pipeline, with an automatic 24-hour refresh to limit stale answers.
Yes. A Microsoft Power Apps module digitizes Self and Immediate Disclosure, Quarterly Disclosure and Pre-Clearance submissions. SharePoint Lists centralize the records, while Power Automate generates a PDF in OneDrive and sends an acknowledgement email.
Yes. When a document is deleted from Azure Blob Storage, a vector deletion workflow removes the corresponding embeddings from Azure AI Search. This helps prevent deleted policy content from continuing to appear in retrieval results.