← All projects
Generative AI Advanced

Atlas RAG

Enterprise advanced RAG: hybrid search, HyDE, self-correction and Text-to-SQL

Every advanced retrieval technique in one system, with an evaluation harness that shows which ones actually help on your data.

SHIPSTACK · PROJECT Atlas RAG Enterprise advanced RAG:hybrid search, HyDE,self-correction and… Advanced Generative AI 1 Question 2 Router 3 Self-correction 4 Answer 5 milestones

The scenario

Atlas RAG is a reference implementation of modern retrieval: hybrid search with reranking, hypothetical document embeddings, corrective and self-reflective RAG loops, Text-to-SQL for structured questions, semantic caching and guardrails — all orchestrated in LangGraph. The point is not to use everything, but to measure each technique against a baseline and keep only what earns its latency.

System architecture

01 Question Docs or data?
02 Router RAG or Text-to-SQL
03 Hybrid retrieval BM25 + vectors + rerank
04 Self-correction Grade → retry
05 Answer Cached + guarded

High-level flow of Atlas RAG, from input to output.

What you will learn

  • Hybrid retrieval and reranking
  • HyDE, corrective RAG and self-RAG loops
  • Routing between documents and SQL
  • Caching and guardrails
  • Ablation-style evaluation of each technique

What you will build

  • Configurable retrieval graph
  • Text-to-SQL branch with safety checks
  • Semantic cache
  • Evaluation dashboard comparing techniques

Build plan

  1. Baseline RAG + eval set
  2. Hybrid + rerank
  3. HyDE and corrective loops
  4. Text-to-SQL branch
  5. Cache, guardrails, report

Tech stack

LangGraphElasticsearchQdrantPostgreSQLRedisRagas