Skip to content
fellowcoder

Measuring retrieval: recall@k, MRR, and a golden set you'll maintain

Build the harness that tells you whether a change helped. Bootstrap a golden set from your own corpus, separate retrieval failures from generation failures, and stop shipping on vibes.

Tutorial9 minadvanced

Hybrid retrieval: fuse keyword and vector search

Vector search alone misses exact identifiers and rare terms. Add Postgres full-text search, fuse the rankings with RRF, and rerank the top slice.

Tutorial8 minintermediate

Chunking that survives contact with real documents

Build the ingestion half of a retrieval pipeline: structure-aware splitting, contextual headers, and a schema that lets you re-chunk without re-embedding the world.

Tutorial9 minintermediate