Building a grounded, cited response
medium 7 minA grounded answer links specific claims to the specific source passages that support them.
Trace the example
Follow the evidence through each stage, then test a change in the case.
Support two claims with two different sources
Evidence store
P2 window · P7 fee
A customer asks when returns close and whether shipping is refunded. These are separate claims with different supporting passages.
Both citations resolve, but P7 discusses delivery time rather than fees. What failed?
Reserve room for evidence
The example context limit is 4,096. Account for delimiters and serialized tool descriptions before packing passages.