Transforming Insurance Agent Support with RAG-Powered Chat Assistant

insurancedekho · Insurance · 2024 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Insurance agent support

InsuranceDekho needed agents to answer customer policy questions quickly without waiting on subject matter experts, across many insurers and health plans.

Constraints:

Architecture

InsuranceDekho built a RAG chat assistant on Amazon Bedrock using Claude Haiku, OpenSearch vector storage, a third-party embedding model, Redis semantic caching, and AWS PrivateLink. The workflow ingests policy documents into embeddings, checks cache for repeated queries, classifies intent, retrieves relevant policy context, and generates answers for advisors.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  advisor_chatbot["Advisor chatbot"] --> redis_semantic_cache["Redis semantic cache"]
  advisor_chatbot --> claude_haiku_intent_classifier["Claude Haiku intent classifier"]
  policy_document_ingestion["Policy document ingestion"] --> third_party_embedding_model["Third-party embedding model"]
  third_party_embedding_model --> opensearch_vector_database["OpenSearch vector database"]
  claude_haiku_intent_classifier --> rag_answer_generator["RAG answer generator"]
  opensearch_vector_database --> rag_answer_generator
  rag_answer_generator --> advisor_chatbot
  aws_privatelink["AWS PrivateLink"] --> rag_answer_generator
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Advisor chatbot Entry point for insurance advisors asking policy questions. Redis semantic cache, Claude Haiku intent classifier, RAG answer generator
Policy document ingestion Processes insurance policy documents into embeddings. Third-party embedding model, OpenSearch vector database
Third-party embedding model Generates vector representations for policy documents. Policy document ingestion, OpenSearch vector database
OpenSearch vector database Stores policy embeddings and retrieves relevant context. Policy document ingestion, RAG answer generator
Redis semantic cache Avoids repeated full RAG processing for recently handled queries. Advisor chatbot
Claude Haiku intent classifier Classifies advisor query intent and can answer generic queries directly. Advisor chatbot, RAG answer generator
RAG answer generator Generates policy answers from retrieved context through Bedrock. Advisor chatbot, OpenSearch vector database, Claude Haiku intent classifier
AWS PrivateLink Provides private model access for insurance data. RAG answer generator

Data flow

Policy documents are embedded and stored in OpenSearch. An advisor asks a question in the chatbot; Redis checks whether a semantically similar query was recently answered; Claude Haiku classifies intent; generic questions can be answered directly; complex questions retrieve policy context from the vector database and generate a grounded response.

3 supporting quotes
“Insurance policy documents are processed through an embedding model (they mention using a third-party embedding model rather than one from Amazon Bedrock) to generate vector representations.”summary, stated
“A caching layer using Redis on Amazon ElastiCache performs semantic search to check if queries have been recently processed”summary, stated
“If a cache miss occurs, an intent classifier powered by Claude Haiku analyzes the query to understand user intent”summary, stated

Why this architecture

RAG lets agents answer policy-specific questions from current documents, while Bedrock provides managed model access, model portability, throughput options, and private connectivity.

“Amazon Bedrock's fully serverless offering eliminated the need for provisioning infrastructure, procuring GPUs, or configuring ML frameworks.”summary, stated
“AWS PrivateLink provided secure, private model access without traversing the public internet”summary, stated

Models used: Anthropic Claude Haiku · Claude Instant · third-party embedding model · Amazon Bedrock

Scale

Alternatives considered (roads not taken)

Continue routing policy questions to SMEs

Rejected because: SMEs were a bottleneck and created customer response delays.

“SMEs could only handle one call at a time, creating queuing delays”summary, stated

Use Claude Instant permanently

Rejected because: Bedrock portability let them transition to Claude Haiku without code changes.

“they seamlessly transitioned from Anthropic's Claude Instant to Anthropic's Claude Haiku when Claude 3 became available, without requiring code changes.”summary, stated

Run every query through full RAG

Rejected because: A Redis semantic cache handles recently processed queries first.

“A caching layer using Redis on Amazon ElastiCache performs semantic search to check if queries have been recently processed”summary, stated

Patterns

rag-retrieval (policy knowledge)

The assistant retrieves policy-document context from OpenSearch before generating answers.

“They implemented a Retrieval Augmented Generation (RAG) chat assistant using Amazon Bedrock with Anthropic's Claude Haiku, combined with Amazon OpenSearch Service as a vector database and Redis on Amazon ElastiCache for caching.”summary, stated

semantic-caching (latency and cost)

Redis performs semantic lookup for recently processed queries before full RAG.

“A caching layer using Redis on Amazon ElastiCache performs semantic search to check if queries have been recently processed”summary, stated

model-routing (intent handling)

Claude Haiku classifies intent and routes generic versus complex queries differently.

“• For generic queries, the intent classifier can provide responses directly, bypassing the full RAG workflow”summary, stated

privacy-preserving-processing (insurance data)

PrivateLink keeps model access private rather than traversing the public internet.

“Security: AWS PrivateLink provided secure, private model access without traversing the public internet, addressing data privacy and compliance requirements that are particularly important in the insurance industry.”summary, stated

Tradeoffs

Use a managed model service.

Chose Amazon Bedrock over Provisioning GPUs and ML frameworks directly.

Rationale: Managed Bedrock reduced development and deployment overhead for production LLM use.

“This significantly reduced development and deployment overheads, which is a key consideration for production LLM deployments where operational complexity can quickly escalate.”summary, stated

Add semantic caching.

Chose Redis on ElastiCache over Always hitting vector search and generation.

Rationale: Repeated or similar advisor questions can be answered faster and cheaper.

“A caching layer using Redis on Amazon ElastiCache performs semantic search to check if queries have been recently processed”summary, stated

Gotchas (what bit them)

Human SMEs become a support bottleneck.

Root cause: Only one call can be handled at a time and policy complexity is too broad for every agent to memorize.

Resolution: Use RAG to give advisors autonomous access to policy answers.

“insurance advisors, particularly newer ones, frequently needed to consult subject matter experts (SMEs) for policy-specific questions”summary, stated

Model provider lock-in can slow upgrades.

Root cause: Production models change quickly and teams need portability.

Resolution: Use Bedrock's single API to transition from Claude Instant to Claude Haiku without code changes.

“The ability to access multiple foundation models through a single API provided operational flexibility.”summary, stated

Evaluation

InsuranceDekho reports production business impact through response-time reduction and improved agent/customer experience.

Metrics: 150,000+ agents. · 49 insurance companies. · 125+ health plans from 21 insurers. · 80% response-time reduction.

“The solution enables agents to autonomously answer customer queries about policy coverages, exclusions, and plan features without SME involvement, resulting in an 80% reduction in response time and improved sales and customer service experience.”summary, stated

Outcomes

The platform serves over 150,000 agents across 49 insurers.

“enables agents to autonomously answer customer queries about policy coverages, exclusions, and plan features without SME involvement”summary, stated