RAG: 6 articles and lessons
6 stories tagged RAG on Learning Fanatic.
- Lesson 4.4: Vector stores and indexes Learn how vector stores find nearest neighbours fast: exact against approximate search, IVF and HNSW indexes, memory sums, filters and choosing a store.
- Lesson 5.2: Retrieval quality and reranking Measure whether retrieval finds the right chunk using hit rate and MRR, then improve it with hybrid search, query rewriting and reranking, with cost figures.
- Lesson 5.4: How RAG fails Find out where RAG systems break, from bad extraction to lost context and misread passages, and learn a four-question method to trace each failure to its stage.
- Lesson 5.3: Grounding answers and citations Make RAG answers stay inside their sources: grounding prompts, citations you can check, faithfulness scores and when the system should say it does not know.
- Lesson 5.1: The RAG pipeline Learn how RAG works end to end: ingesting documents, retrieving chunks, building a grounded prompt, answering with sources, and budgeting cost and delay.
- Lesson 4.3: Chunking documents Learn how to cut documents into pieces for retrieval: chunk size, overlap, structure-aware splitting, parent-child retrieval, costs and how to test choices.