Why chunk size matters
Too large, and each chunk mixes several topics, so the match is vague and the prompt fills with irrelevant text. Too small, and a chunk loses the context that gives it meaning, such as which product a warranty clause applies to. Many teams start with passages of a few hundred words and adjust after testing.
Better ways to cut
- Respect structure: split at headings, list items and table boundaries rather than at a fixed character count.
- Overlap: repeat a sentence or two between neighbors so ideas are not cut in half.
- Add context: attach the document title and section heading to each chunk.
- Keep tables whole, or convert rows to sentences that name their columns.
Testing it
Write thirty real questions with known answers and check whether the right chunk comes back in the top few results. If not, change the chunking before changing the model.
Questions, answered
No single answer. It depends on the content; test a few sizes against real questions.
Yes. They need text recognition first, and the result should be spot-checked, since errors there flow into every chunk.