---
title: Legal users require every claim to cite a source passage, and the system must say it doesn't know when the corpus is…
url: https://gurkanozkan.ai/learn/questions/applied-llm-rag-10/
markdown: https://gurkanozkan.ai/learn/questions/applied-llm-rag-10.md
kind: question
role: Applied LLM
stage: Technical
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/applied-llm-rag-10.json
robots: noindex
---

# Legal users require every claim to cite a source passage, and the system must say it doesn't know when the corpus is silent. How do you build and verify that?

Applied LLM · Technical · Medium

## Answer

*Model answer, written in a candidate's voice*

### In short

- Chunks carry stable IDs; every claim is emitted with a citation to the exact span, or provider citation features are used.
- Verification checks that the cited span exists and entails the claim via NLI or a judge; unsupported sentences are removed or regenerated.
- Abstention uses retrieval thresholds plus explicit say-you-don't-know instructions, tuned on an unanswerable set and tracked with false-abstention rate.
- UX shows the quote and link beside each claim, with abstention as a first-class state rather than a hedged answer.
- Strictness vs helpfulness and verification latency are explicit trade-offs: stricter entailment and higher retrieval-confidence thresholds reduce hallucination but raise abstentions and slow responses, so settings are set per risk and measured.

### In full

The core design is that the corpus is chunked with stable IDs and the answer is structured as claims, each carrying a citation to the exact span it depends on, or using the provider's citation features when available. I would then verify every cited span exists and entails its claim with an NLI model or a judge, and remove or regenerate any sentence that fails, rather than letting the model hedge. Abstention is not left to the model's goodwill: retrieval thresholds plus explicit instructions to say it does not know when the corpus is silent, tuned on an unanswerable set and reported alongside false-abstention rate so we can see both over-claiming and over-refusal. In the UI, each claim shows the quote and link next to it, and an abstention is shown as a clear not-found state, not a confident-sounding partial answer. The explicit trade-offs are strictness versus helpfulness and verification latency: stricter entailment and higher retrieval-confidence thresholds reduce unsupported claims but increase abstentions and slow the response, so I would set thresholds by risk and measure both error types rather than pick one global setting.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- Chunks carry IDs; output format attaches citations per claim, or provider citation features are used
- Verification: cited span exists and entails the claim (NLI model or judge); unsupported sentences removed or regenerated
- Abstention via retrieval thresholds plus instructions; measured on an unanswerable set, alongside false-abstention rate
- UX shows quotes and links; strictness vs helpfulness and the latency of verification are explicit trade-offs

## Common mistakes

- Treating a citation marker as proof of support
- never testing unanswerable questions

## Topic guides

- [Evaluation: metrics, evals for LLM systems and statistical rigour](https://gurkanozkan.ai/learn/topics/evaluation.md)
- [Retrieval-augmented generation](https://gurkanozkan.ai/learn/topics/rag.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
