LEVEL 02 · LESSON 20
Handling cross-references
Retrieval must preserve the relationships that make individual passages meaningful.
What it is
A cross-reference points from one part of a source to another, such as ‘subject to section 8.’ Retrieval must preserve or follow that relationship when the referenced material affects the answer.
Why it matters
Splitting a document can separate a rule from the clause that changes its meaning. A model cannot reliably reconstruct a missing section from its number.
A business example
A refund paragraph says ‘Exceptions are listed in section 8.’ Returning only that paragraph can produce an overbroad answer. The system also retrieves section 8 before deciding whether the order qualifies.
How it actually works
Extract section identifiers and links during ingestion. Store references alongside chunks, then resolve important links after initial retrieval. Parent sections or neighboring chunks can help with nearby references. Set limits on repeated expansion to avoid loops and oversized context. If a referenced section is unavailable or restricted, identify the gap and escalate rather than inventing its contents.
A common misconception
The model does not automatically know what every ‘see above’ or ‘section 8’ refers to after documents have been split.
ONE SENTENCE TO REMEMBER
Retrieval must preserve the relationships that make individual passages meaningful.
CHECK YOUR UNDERSTANDING
A retrieved clause says “subject to the limits in section 8,” but section 8 was not retrieved. How should the system handle this?
Show the answer
Answer: A.
Splitting a document can separate a rule from the clause that changes its meaning, and a model cannot reliably reconstruct a missing section from its number. Store references during ingestion, resolve important ones after retrieval, and escalate rather than invent missing content.
Take it into your next meeting
Which missing cross-reference could reverse the answer to a typical customer question?
One more concept, understood.
Mark this lesson complete to keep your place.