Choosing and annotating chunk boundaries
medium 6 minChunking selects the unit a retriever can return.
Where it shows up
The same pattern appears across everyday software.
Keep a rule and its holiday exception together
The first sentence gives a standard 30-day rule. The second starts “except during holidays.” The correct answer depends on both sentences. Try structural boundaries and then a measured overlap. Preserve source offsets so neighboring material can be fetched when a boundary is unavoidable. Measure whether the evidence set contains both spans. A top-ranked generic rule alone is an incomplete retrieval even if it shares the query’s terms.