Preserve the context needed to interpret a passage
Split documents according to their structure and use, not only a fixed character count. A heading, exception, table label or preceding definition may be necessary to interpret the next paragraph. Retain source identifiers and section context with each segment. Test several approaches on representative questions rather than assuming one segment size works for every document.
Worked example
Illustrative scenario; not a claim of measured client results.
A policy paragraph saying the limit is increased may be meaningless without the earlier definition of the standard limit and the conditions for the increase. Keep those relationships available in retrieval. For a product manual, model name and version can matter as much as the paragraph itself. Include that context in the segment metadata or assembled evidence.
Checks, limitations and next decisions
When a retrieved passage looks relevant but produces an incorrect answer, check whether splitting removed a qualifier or merged unrelated sections. Review extraction order for PDFs and tables. Measure whether the right complete evidence reaches the answer stage, not merely whether a matching phrase was found. Changes to splitting should be evaluated against the same question set so improved coverage does not conceal new confusion.
A practical starting point
Work through these checks in order. Use the results to decide what needs to change in your own workflow.
- Inspect the structure of representative documents.
- Keep headings, definitions and relevant qualifiers attached to the content.
- Test retrieval using questions that span section boundaries.
A mistake to avoid
Do not optimize segment size without examining retrieved examples.
How to check progress
Measure whether selected passages contain the complete evidence needed for the answer.
Your action checklist
Use this checklist while reviewing your own setup. Checkmarks are temporary and stay in this open page.
For the wider decision process, read When retrieval is the right addition to an AI assistant.
Further reading
Official background resources for this topic. The workflow above is general guidance, not a guarantee of a particular result.
AI-assisted editorial content. Examples are illustrative, not client case studies. Read our editorial policy or report a correction.
