
6 episodes, about 51 min 0 views across the series
Topics: Retrieval and knowledge Code: abhydesai/retrieval-explained-code
Retrieval Explained
Created by Abhyuday DesaiUpdated , episode 6
How AI systems find the passages an answer needs: embeddings and vector search, chunking, keyword and hybrid search, query rewriting, reranking, and tracing a wrong answer to its cause.
Start with episode 1Part oneHow search finds passages
- 01 Watch
Embeddings and Vector Search
How a retrieval system finds passages by meaning: what an embedding is, how cosine similarity scores a match, when you need an index, and why the closest passage may not answer the question.
- 02 Watch
Chunking Documents for Search
How to cut documents into chunks a search can use: why a fixed-size cut can split an answer in two, what size and overlap cost, how to cut at headings, and why each chunk should record its source.
- 03 Watch
Keyword, Semantic and Hybrid Search
When to search by keywords, by meaning, or both: where BM25 and embeddings each miss, and how to merge their rankings with reciprocal rank fusion without mixing their scores.
Part twoGetting better results
- 04 Watch
Query Transformation
What to try when the search misses an answer that is in your documents: rewriting the question, expanding it into several queries, and HyDE, and how to measure which one helped.
- 05 Watch
Reranking Search Results
What to do when search finds the right passage but ranks it too low: how a cross-encoder reranks a shortlist, what it costs, what it cannot fix, and how to check that it helped.
Part threeWhen an answer is wrong
- 06 Watch
Diagnosing Bad Answers
How to find out why a retrieval system gave a wrong answer: follow the evidence through the documents, the search, the prompt and the model, and fix the first step where it was lost.