Choosing and annotating chunk boundaries 00:00:01 The exception on the next strip The first strip from Alia's paper cutter says that returns are allowed for thirty days. The next strip starts with a holiday exception. A customer in the holiday period receives the first strip alone. Every word in it is genuine. The answer is still incomplete. Chunking selects the unit a retriever can return. A boundary that respects a heading, definition or exception can matter more than a precisely fixed token count. Overlap, parent lookup and metadata provide different ways to restore missing context. Put the heading and the two linked sentences on the cutting mat. Compare a narrow split, a small overlap and a complete paragraph for this particular question and context budget. 00:00:51 Cut the handbook at a useful boundary 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. 00:01:24 Count coverage before tuning size Choose the smallest unit that can answer a question without losing essential context. Tiny chunks improve precision but can separate a rule from its exception. Large chunks preserve context while introducing unrelated text. Evaluate boundaries against real questions, including ones whose answers span adjacent paragraphs. A short result says “returns are allowed.” Fetch the adjacent exception for customized goods and compare answers to the custom-item question. Recursive splitting tries coarser separators first and falls back to finer ones when a segment exceeds the target. For prose this may mean paragraphs, then lines, then words. Count size in the same units used by the downstream budget and carry enough overlap to recover cut references. A paragraph exceeds the target length even after splitting on paragraph separators. Descend to sentence or finer boundaries while retaining provenance. Attach metadata such as document ID, heading path, effective date, tenant and offsets to every chunk. Keep authorization fields machine-readable. Adding a heading to the text can improve retrieval, but an access label embedded in prose cannot enforce who may read the chunk. Attach tenant, revision and heading to a chunk. Verify tenant restriction before retrieval and use heading and revision when rendering the citation. Test splitting against the questions the corpus must answer. Check whether the evidence set contains the entire supporting span, how much irrelevant text was added and how much duplication consumes the prompt budget. 00:03:14 Can a perfect match still miss the rule? A smaller chunk improves similarity to “refund” but drops the qualifying sentence. What should decide the split? Similarity measures a candidate, while the task requires two linked facts. A split that hides the qualification fails the end-to-end question. Keep the split that preserves the facts the answer needs. Short chunks can match the query closely, while a trace of the supporting spans reveals whether the exception reached the reader.