RAG & Retrieval
Grounding models in your data.
Retrieval-augmented generation (RAG) grounds a language model in external data by retrieving relevant documents at query time and adding them to the prompt, reducing hallucination and keeping answers current.
The original RAG paper combined a pretrained sequence-to-sequence model with a dense index of Wikipedia passages and a neural retriever. It compared conditioning on the same passages for a whole answer with selecting different passages per token (Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks). That makes retrieval part of the system to evaluate. For a support assistant, test whether it finds the right policy before judging how well it writes the answer.
Bob van Luijt in episode 8 discusses the evolution of retrieval architecture. Sudhir Hasbe in episode 55 argues that data structure and relationships matter for hallucinations. What is RAG? introduces the pipeline, and how to evaluate a RAG system separates retrieval quality from answer quality. Vector database vs knowledge graph compares two ways to organize the evidence an application can retrieve.
19 episodes
- The AI Framework Era Is Over: Why Context Is the Moat | Jerry Liu of LlamaIndex
- Hallucinations Are a Data Architecture Problem | Sudhir Hasbe, Neo4j
- Agent Memory: The Last Battleground in the AI Stack | Richmond Alake, Oracle
- Context Poisoning is Killing Your AI Agents: How to Stop it | Michel Tricot, Airbyte
- How Intercom Cut $250K/Month by Ditching GPT for Open Models | Fergal Reid
- Beyond Transformers: How Liquid AI Is Rethinking LLM Architecture | Maxime Labonne
- Mastering Multi-Agent Systems | MongoDB’s Mikiko Chandrasekhar
- The AI Agent Trust Gap: Bridging Risk to Reliability | Elastic’s Philipp Krenn
- Your Key to AI Success is Hiding in Plain Sight | Cohesity's Greg Statton
- AI's Two Extremes – Foundations & The Frontier | Databricks’ Denny Lee
- Breaking the Language Barrier: Smartling's AI Translation Pipeline | Olga Beregovaya
- Inside IBM's watsonx: Building Enterprise AI That Ships | Dr. Maryam Ashoori
- Information Symmetry: DevRev's Bet on AI-Driven Enterprise Decisions | Manoj Agarwal
- How DeepSeek Changed the AI Race Overnight
- AI Infrastructure & the Evolution of RAG | Weaviate's Bob van Luijt
- The Enterprise AI Deployment Playbook | ServiceTitan, Indeed & Twilio
- Practical Lessons for GenAI Evals | Chip Huyen & Vivienne Zhang
- GenAI Predictions for 2025 | Databricks & Cohere
- Got Agents? Agentic Workflows & Architecture | Weaviate, Unstructured & CrewAI
Explainers on this topic
- How to Prepare PDFs for RAG
- What Is a Reranker in RAG?
- Centralizing Data Before AI: Why the Lake Doesn't Save You
- AI Translation: Where Humans Still Sit in the Loop
- Fine-Tuning vs. RAG vs. Prompting: How to Choose
- Vector Database vs. Knowledge Graph for AI Retrieval
- Agentic RAG vs. Traditional RAG
- Are AI Hallucinations a Data Problem?
- How to Evaluate a RAG System
- What Is RAG (Retrieval-Augmented Generation)
- When AI Hallucinations Are Good (and When They're Dangerous)
- The 5 Sources of Context an AI Agent Needs
Terms on this topic
- Agentic RAG
- Answer Engine
- Answer Relevance
- Chunking
- Context Relevance
- Cosine similarity
- Embeddings
- Faithfulness
- GraphRAG
- Grounding
- Hybrid Search
- Intelligent Document Processing (IDP)
- Knowledge Cutoff
- Knowledge Graph
- Mean Reciprocal Rank (MRR)
- Ontology
- Optical Character Recognition (OCR)
- Query Decomposition
- Reranking
- Retrieval-Augmented Generation (RAG)
- Semantic Caching
- Semantic Search
- Structured and Unstructured Data
- Vector Database
Tool comparisons on this topic
- Document parsers for RAG compared: choose how files become text
- Vector databases compared: choose by data, filters and operations
Essay on this topic
Guests on this topic
Jerry LiuSudhir HasbeRichmond AlakeMichel TricotFergal ReidMaxime LabonneMikiko ChandrasekharPhilipp KrennGreg StattonDenny LeeOlga BeregovayaMaryam AshooriManoj AgarwalYash ShethAtindriyo SanyalBob van LuijtMehmet Murat EzbiderliVinnie GiarrussoGrant LedfordChip HuyenVivienne ZhangSara HookerCraig WileyVikram ChatterjiBrian RaymondJoão Moura