all answers

General agent concepts

Hallucinations

A hallucination is an agent stating something its sources don't support. The term covers three distinct properties of an answer, and each one can be checked on its own.

Faithfulness asks whether the answer accurately represents the sources it cites. An agent can retrieve the right document and still misquote it, invert a number, or attribute a claim the document doesn't make.

Groundedness asks whether the answer comes from the retrieved context or from the model's own priors, with the context left unused. An ungrounded answer can be correct whenever the prior happens to be right, which makes it hard to notice, and it fails when the prior is wrong.

Context presence asks whether the information needed to answer was retrieved at all. When it wasn't, the failure is in the retrieval step, before generation begins.

Hallucination is a problem because a made-up answer looks the same as a right one. The person asking usually can't verify it themselves, and if the answer feeds a decision or another agent, the made-up fact gets acted on.

6 questions

Answered, plainly.

Send us the traces you already emit.