Step-by-step answer
Core 60–90 min6 stepsTune an ANN index against a recall target
HNSW and IVF in Faiss over about 20,000 embedded synthetic conveyancing chunks, swept against exact search with single-threaded, one-query-at-a-time timing, plotted as recall@10 against milliseconds. A 2% matter filter then compares post-filtering, a larger k, and exact search over the matter, which wins on both recall and latency.
Back to the exercise