Collect real user queries (logs, support tickets, search queries) and have domain experts mark which chunks or documents answer them.
To scale up or bootstrap, generate synthetic questions for sampled chunks with an LLM, filter out vague or leaky ones, and treat the source chunk as the relevant item (verify a sample by hand).
Include hard cases: ambiguous questions, exact-identifier queries, multi-chunk answers, and questions the corpus cannot answer.
Start with 100 to 300 queries, version the set, and re-run it after every change to chunking, embeddings, index parameters or reranking.
Loading…