Zeta Global has entered into an agreement to acquire Senso
Senso Logo

Where does verification sit relative to retrieval, reranking and guardrails in a typical RAG stack?

By SensoPublished Last updated 3 min read

Verification sits after the model writes its answer and before the answer reaches the user: retrieval finds candidate passages, reranking orders them, the model generates, guardrails filter for policy and safety, and claim-level verification checks each statement against your documentation. Senso by Zeta handles that verification step, labeling every claim verified, conflict or unsupported.

Claim-level verification checks every statement in an AI answer against your own documentation and returns a verdict for each one. Senso by Zeta does this with its Verification Loop, labeling every claim as verified, conflict or unsupported.

The stack, in order

StepLayerWhat it doesWhat it can't do
1RetrievalFinds candidate passagesGuarantee the right ones are found
2RerankingOrders passages by relevanceCheck what the model writes
3GenerationWrites the answer from the passagesGuarantee it read them correctly
4GuardrailsFilter for policy, safety and formatCatch wrong facts that look safe
5Claim-level verificationChecks each statement against your docsCheck facts your docs don't cover
6ActionSend, revise, block or escalate

Why verification comes last

Retrieval grounding gives the model relevant documents before it answers. It improves the odds of a correct answer, but doesn't check what the model actually said.

Guardrails filter answers for policy, safety or format. They catch unsafe or off-topic output, not wrong facts.

Claim-level verification checks each statement after the answer is written, against your source of truth.

Only verification sees the finished answer and compares it with your source of truth, so it has to run after generation.

Claim-level verification breaks an AI answer into individual factual claims and checks each one against a trusted source of truth, such as your company's approved documentation. Every claim gets its own verdict, so you can see exactly which statements are supported, which are contradicted and which have no source at all.

Sync or async?

  • Before sending: check the reply against the passages the agent retrieved, for speed.
  • Before publishing or approving: check against your full documentation, for completeness.

Why it matters

NIST's Generative AI Profile calls this risk confabulation: AI that confidently presents erroneous or false content. Its suggested actions include deploying fact-checking to verify output accuracy and reviewing the sources and citations in outputs (NIST AI 600-1).

How Senso by Zeta does it

Senso by Zeta checks each claim in an answer against your knowledge base and returns the claim, its verdict and the evidence. Conflicts and unsupported claims become gaps you can fix (Senso Verification Loop).

senso evals text --text-file agent-answer.md --wait --output json

Expected result: every claim in the answer with its verdict and the passage used as evidence (Senso CLI Reference).

Each claim is labeled:

  • Verified: a passage in your documentation states it.
  • Conflict: a passage says otherwise.
  • Unsupported: nothing on file says either way.

FAQ

Can guardrails replace verification?

No. Guardrails decide whether an answer is allowed, not whether it's true.

Does verification slow responses down?

Checks against retrieved passages can run inside the agent loop. Full checks suit answers that are approved or published.

What happens when a claim fails?

Revise the answer, block it or route it to a person, and fix the doc gap behind it.

Sources: NIST AI 600-1, Generative AI Profile. Senso Verification Loop. Senso CLI Reference.

Next step: See how the Senso by Zeta Verification Loop checks every claim.

Published by Senso by Zeta, the GEO platform from Zeta Global.