Confidential client, name withheld under NDA

Built a RAG Based Customer Support Assistant on Databricks for a US Digital Insurer

Quick answer: A RAG support assistant on Databricks answers routine policy coverage questions in the customer chat. It draws on the insurer's own policy documents and cites the governing clause. Bacancy Technology built this for a US-based insurer.

Outcomes deliveredDelivered September 2025 to March 2026 by a team of 4
70%

Chats handled without an executive

Across in-scope policy query types

80%

Support executives moved to new roles

With no impact on the support workflow

Same day

Answers for after-hours queries

Before: next working day

100%

Answers citing the policy clause

A record of what customers were told

Client name withheld under NDA. To honour our non-disclosure agreement and compliance obligations, we describe this client by industry and region only. The project scope, technology and outcomes are shared without details that could identify them.

About the Client

The client is a US-based insurer selling policies and serving customers through its own digital channels. Support executives handled every chat query, and most were routine policy coverage questions that meant searching long policy documents while the customer waited.

Bacancy Technology built a RAG assistant on Databricks that answers these questions in the chat, citing the policy section behind each answer. It now handles 70% of in-scope chat volume, and the client moved 80% of its support executives to other roles.

Industry
Insurance
Location
USA
Team
4 resources
Timeline
September 2025 to March 2026
Project size
Non-disclosable

Four problems slowing policy support

Routine coverage questions filled the support queue, and answers depended on who handled the chat.

Every query to an executive

What was happening

Routine policy questions repeated across thousands of chats, and all reached a person.

Business Impact: Support volume grew with every new customer.

Slow, inconsistent answers

What was happening

Executives searched whole policy documents while customers waited.

Business Impact: The same question could get different answers.

Automation priority

What was happening

Routine policy questions took a large share of the support team's time.

Business Impact: This was the work the client most wanted to automate.

Business hours only

What was happening

The support team worked only during business hours.

Business Impact: After-hours queries waited until the next working day.

Challenges & Solutions

Our Databricks and data engineering team built each part of the assistant inside the client's existing chat.

Challenge 1: Answering routine policy questions without an executive

Every customer query went to a support executive, including routine policy questions.

Solution: Our Databricks developers built a retrieval assistant into the existing customer chat. They ingested policy documents into Delta tables and indexed them with Mosaic AI Vector Search. The assistant now answers routine questions directly.

Challenge 2: Giving the same answer to the same question

Executives searched whole documents per query, and answers varied by who handled the chat.

Solution: Our data engineers parsed the policy documents clause by clause. Retrieval returns the governing clause and every answer cites it. The same question now gets the same answer each time.

Challenge 3: Automating the most repetitive support work first

Routine policy questions took a large share of the support team's time.

Solution: Our AI/ML developers scoped the assistant to the routine policy questions that made up most of the queue. Anything outside that scope goes to the support team, who take over the conversation.

Challenge 4: Answering queries outside business hours

Queries received after hours waited until the next working day.

Solution: Our insurance IT services team deployed the assistant on a Databricks Model Serving endpoint and connected it to the React chat through a FastAPI service. It runs independently of support shifts, so after-hours queries are answered the same day.

How the Platform Works

The client RAG support assistant dashboard

Core Features

  • Policy ingestion into Delta tablesPolicy documents stored in Delta Lake under Unity Catalog governance.
  • Clause-level retrieval with sourcesEvery answer carries the policy clause it was drawn from.
  • Answers from current policy wordingPublished revisions apply to every response right away.
  • Escalation outside scopeOut-of-scope questions go straight to a support executive.
  • Built into the existing chatDatabricks Model Serving connected to the React chat via FastAPI.

The stack behind the assistant

Frontend
React
Backend and API
FastAPI | Python
Storage and governance
Delta Lake | Unity Catalog
Vector index
Mosaic AI Vector Search (Standard)
Generation and serving
Databricks Foundation Model APIs | Databricks Model Serving
Evaluation
Mosaic AI Agent Evaluation
Orchestration
Lakeflow Jobs
DevOps
Docker | GitHub Actions

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies