Start from document structure: split on headings and paragraphs, keep tables and code blocks intact, and add 10-15% overlap.
Match size to question type: short factual lookups favor small chunks; reasoning across a section favors larger chunks or parent-child retrieval (retrieve small, return the surrounding section).
Build a labeled set of real questions with the chunks that answer them, then compare strategies on recall@k and MRR instead of guessing.
Warning signs: right document but wrong chunk, partial answers, high latency from oversized context, users repeating the same question.
Change one thing at a time: chunk size, overlap, embedding model, hybrid weights, reranker.
Loading…