Loading patterns…
Naive RAG(NRAG)
Foundational "Retrieve-Read" framework following traditional indexing, retrieval, and generation process
In 30 seconds
- What
- Retrieves top matching document passages via semantic search, concatenates them into the prompt, then generates an answer.
- When to use
- Straightforward factual questions over well-indexed documents where retrieval quality is high and no multi-step reasoning is needed.
- Watch out
- Retrieved passages may contradict each other or contain irrelevant noise, degrading answer quality without ranking or filtering.
Ask the AI expert about this pattern
Opens the assistant with your question prefilled. You review it before sending.
Naive RAG: Overview
Foundational "Retrieve-Read" framework following traditional indexing, retrieval, and generation process
- Simple retrieval pipeline
- Direct passage integration
- Basic semantic search
- Sequential processing
- Straightforward generation
- Minimal preprocessing
The Agent Architect
One pattern, one tradeoff, one production failure story. A short weekly briefing for people building agentic systems.
Weekly email, one-click unsubscribe. We only use your address to send the briefing.
References
The papers, specifications, and repositories this pattern is based on.
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (Lewis et al., 2020)arXiv:2005.11401
- Dense Passage Retrieval for Open-Domain Question Answering (Karpukhin et al., 2020)arXiv:2004.04906
- Retrieval Augmentation Reduces Hallucination in ConversationarXiv:2104.07567
- Retrieval-Augmented Generation for Large Language Models: A Survey (Gao et al., 2023)arXiv:2312.10997
- A Comprehensive Survey of RAG: Evolution and Future Directions (Gupta et al., 2024)arXiv:2410.12837
From the engineer behind this catalog
Get your agent architecture reviewed
This page documents one pattern. Your system runs dozens, and most failures live in how they fit together. Have the whole design reviewed against the 288 patterns in this catalog: architecture, reliability, evaluation and cost, every finding mapped to the pattern that fixes it.
€750 instead of €1,500, one week, written report and walkthrough call, until 30 September