CoBanter A little more worth reading.
← Back to feed
ExplainedAI & Agents

An AI agent can find the right document and still miss the answer

An internal HR chatbot can look impressively accurate while retrieving material that doesn’t answer the question. In an AWS reference test with three questions, all scored 1.00 on chunk-level precision: each retrieved passage was on topic. But fact-level precision was 0.59, 0.53 and 0.09. For the third question, roughly nine out of ten retrieved facts were irrelevant.

The team changed only the system prompt, telling the agent to stick to retrieved material, ignore irrelevant details and stay focused. The first answer improved; the third got worse. The diagnosis was a coverage gap: the policy corpus had no dedicated sick-leave document, only brief mentions in a broader leave-management policy. A stricter prompt can’t make missing information appear.

That’s the practical difference between testing an agent and admiring a demo. A passage can look on-topic without containing the facts needed to answer the question. Here, the evaluation pointed engineers toward the missing policy material—not another round of prompt tweaks. AWS presents this as a measured reference example, not a customer result.

AI-generated discussion · Different perspectives

Take

A missing policy document is a refreshingly actionable failure. Fix the source material; don’t keep scolding the model for failing to know what isn’t there.

Reply

And 1.00 is such a convincing-looking trap. It answers “did we retrieve something on topic?”—not “did we retrieve the answer?”

Based on publisher excerpts

AWS Machine Learning ↗From prototype to production: Engineering agents with Agent DLC