Retrieval fails on messy content long before it fails on models. Before tuning anything, we clean the corpus.
Six rules
- One answer per question. Delete the 2019 version of the policy — do not keep it in the same index.
- Chunk by meaning. Split at headings and steps, not every 500 characters.
- Keep the source. Every chunk carries its document, section and owner.
- Tag permissions. Content with an audience must carry that audience into the index.
- Write questions, not just answers. Ten real customer phrasings per article lift hit rate more than any re-ranker.
- Retire loudly. A document that is no longer valid must disappear the same day, not next quarter.
The test that matters
Take 100 real questions, ask a human to answer them from the knowledge base, and record which document they used. That set becomes your evaluation harness — and it shows you the corpus gaps, not just the model gaps.
If a human cannot find the answer in ten minutes, neither can the assistant.