TechnologySoftware Engineering

How Contextual AI Uses Elasticsearch to Achieve 90%+ RAG Accuracy at Scale

Contextual AI is an enterprise AI platform company that specializes in production-ready Retrieval Augmented Generation systems for complex knowledge tasks. The company built its context engineering platform on Elasticsearch, using hybrid search combining BM25 and vector search to power accurate, scalable AI agents for enterprise customers. With this foundation, Contextual AI’s agents achieve over 90% accuracy on demanding production tasks—well above the 65–75% range typical of traditional RAG approaches.

Outcomes

90%+RAG accuracy achieved in production
22 million chunksLargest single data repository indexed
60,000+Documents in largest repository

Tools & Technologies

1E
Elasticsearch
Search and analytics engine by Elastic offering full-text, vector, and hybrid search capabilities.

AI Categories

Challenge

Enterprise AI deployments built on fragmented open-source RAG components typically plateau at 65–75% accuracy—inadequate for production use cases in compliance, knowledge management, or customer support where errors carry real business cost. Managing separate vector and keyword search systems added engineering overhead and made it difficult to maintain consistency between research and production environments.

Solution

Contextual AI built its context engineering platform on Elasticsearch, using Elastic’s native hybrid search capability to run BM25 keyword and vector similarity queries through a single API. This unified approach enabled the team to handle repositories of up to 22 million chunks, align research and production environments, and support multi-cloud and on-premises deployments for enterprise customers.

Full Story

Contextual AI was founded to solve one of enterprise AI’s most stubborn problems: getting large language models to reliably answer questions using proprietary company data. The company’s context engineering platform sits between raw enterprise data and LLMs, providing the retrieval, reranking, and grounded generation needed to make AI agents accurate enough for high-value production use cases. Customers deploy these agents for tasks like enterprise knowledge search, compliance and risk analysis, and customer support—workflows where a 70% accuracy rate is simply not acceptable.

Access 451+ AI use cases, 424+ tools, and adoption signal rankings.

Source

ELASTIC
June 2025
Original case study

Similar Cases

1R
How Rakuten Uses Claude Code to Cut Feature Delivery from 24 to 5 Days
Rakuten
79%Reduction in average time to market for new features
2PA
How Palo Alto Networks Saves 351K Hours with Moveworks AI
Palo Alto Networks
351,000 hoursEmployee productivity hours saved
3H
How Hostinger Uses Claude to Build Websites from Natural Language
Hostinger
Minutes vs. daysWebsite creation time
4N
How Notion Built Agent Orchestration on Claude to Cut Costs 90%
Notion
90%Infrastructure cost reduction via prompt caching
5A
How Anything Uses Claude to Power a No-Code App Builder for 1.5M Users
Anything
800,000+Apps created by users
6J
How Jamf Uses Claude to Automate Workflows Across 16 Departments
Jamf
Under 45 minutesPerformance review skill build time
7C
How Cognition Tripled Merged PRs Per Week Using Claude to Power Devin, Its Autonomous AI Engineer
Cognition
3.5×Increase in merged PRs per week after adopting Claude Sonnet 3.6
8P
Pfizer Migrates to SAP S/4HANA on IBM Power10
Pfizer
93%Database reduction
9M
How Motive Uses Glean to Deploy 2,000+ AI Agents and Save Thousands of Hours
Motive
2,000+AI agents deployed
10O
How O3sigma Builds AI Factory Optimization Models to Generate $100K+ in New Revenue
O3sigma
2 weeksModel fine-tuning time to global top-3 ranking
See all use cases →