AnyLearn
All lessons

retrieval

6 lessons tagged retrieval: free, quiz-checked micro-lessons.

AI
intermediate

RAG Evaluation in Production: Metrics, Tools, and Cadence

Learn how to systematically evaluate Retrieval-Augmented Generation systems in production using RAGAS, TruLens, and Phoenix — covering golden sets, retrieval drift, embedding drift, and cost-aware eval scheduling.

12 steps·~18 min
AI
advanced

Evaluating RAG Pipelines with RAGAS

A rigorous guide to measuring RAG quality using RAGAS metrics — faithfulness, answer relevancy, context precision, and context recall — plus how to build a golden dataset and recognize where automated metrics fall short.

12 steps·~18 min
AI
advanced

Agentic RAG: Self-RAG, CRAG, and Multi-Hop Reasoning

Go beyond naive RAG pipelines. Learn how Self-RAG, Corrective RAG, and retrieval-as-tool patterns let an LLM decide when, what, and how many times to retrieve — enabling reliable multi-hop reasoning over complex knowledge bases.

12 steps·~18 min
AI
advanced

RAG Query Rewriting: HyDE, Multi-Query, Decomposition, and Step-Back

Master four advanced query rewriting techniques that dramatically improve RAG retrieval quality: Hypothetical Document Embeddings, multi-query expansion, query decomposition, and step-back prompting. Learn when to reach for each and how to implement them.

12 steps·~18 min
AI
advanced

Hybrid Retrieval for RAG: BM25, Dense Vectors, and Cross-Encoder Reranking

Build a production-grade retrieval pipeline combining BM25 keyword search with dense vector search, then sharpen precision with cross-encoder rerankers (Cohere Rerank, Voyage rerank-2, BGE). Learn when each layer matters and how to wire them together.

12 steps·~18 min
AI
advanced

RAG Chunking Strategies: From Fixed-Size to Late Chunking

A deep dive into how you split documents for retrieval-augmented generation — fixed-size, recursive, semantic, hierarchical, and late chunking — with concrete trade-offs and code for each approach.

12 steps·~18 min

Related topics