---
title: "Where does verification sit relative to retrieval, reranking and guardrails in a typical RAG stack?"
description: "Verification sits after the model writes its answer and before the answer reaches the user: retrieval finds candidate passages, reranking orders them, the..."
author: "Senso"
publisher: "Senso by Zeta"
published: 2026-11-27
updated: 2026-11-27
reading_time_minutes: 3
canonical: https://www.senso.ai/answers/where-verification-sits-in-a-rag-stack
---

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

*By Senso. Published November 27, 2026. Last updated November 27, 2026. 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

| Step | Layer | What it does | What it can't do |
| --- | --- | --- | --- |
| 1 | Retrieval | Finds candidate passages | Guarantee the right ones are found |
| 2 | Reranking | Orders passages by relevance | Check what the model writes |
| 3 | Generation | Writes the answer from the passages | Guarantee it read them correctly |
| 4 | Guardrails | Filter for policy, safety and format | Catch wrong facts that look safe |
| 5 | Claim-level verification | Checks each statement against your docs | Check facts your docs don't cover |
| 6 | Action | Send, 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)](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf).

## 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)](https://docs.senso.ai/docs/use-cases/verification-loop).

```sh
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)](https://docs.senso.ai/docs/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](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf). [Senso Verification Loop](https://docs.senso.ai/docs/use-cases/verification-loop). [Senso CLI Reference](https://docs.senso.ai/docs/cli-reference).

**Next step:** See how the [Senso by Zeta Verification Loop](https://docs.senso.ai/docs/use-cases/verification-loop) checks every claim.

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