AI Agents / Retrieval and evidence for agents
AI Agents: Parent section expansion
Retrieve a focused chunk and then fetch its surrounding section when needed.
Environment and inputs: Retrieval-augmented agent workflows with lexical search, embeddings and optional reranking.
When to use it
Separate the question of finding the right evidence from the question of generating a good answer. Save the retrieved passage identifiers so a wrong result can be traced to ingestion, selection or interpretation rather than guessed from the final prose.
Check the result
Use an exception defined in the next paragraph and verify the answer includes that context.
Save and compare results
Save the test input, configuration and result. Fix the failing boundary, repeat the same test and compare it with the saved working configuration.
Scope and limits
These exercises have not been tested on your systems. Check feature support and configuration names against the installed release and linked documentation.