Chain-of-Verification Fact Check Prompt

Draft an answer, generate verification questions, answer them independently, then revise, reducing factual errors.

verificationhallucinationaccuracy
Setup time15 minutes (estimate)
Estimated costAbout 3-4x the tokens of a single answer (draft, questions, checks, final).
ToolsNo specific tool (works with any chat model API)
VerificationNot yet independently verified

Based on Chain-of-Verification (Dhuliawala et al., 2023).

Steps

  1. Baseline: answer the question.
  2. Plan verifications: list factual claims as questions.
  3. Execute independently: answer each question without showing the draft (separate calls), ideally with retrieval/search.
  4. Revise: rewrite the answer, dropping or correcting claims that failed verification.

Prompts

# Step 2
List each factual claim in the ANSWER as a standalone yes/no or short-answer question.
Return JSON: {"questions": ["..."]}
ANSWER: {{draft}}

# Step 4
Original question: {{question}}
Draft: {{draft}}
Verification results: {{qa_pairs}}
Rewrite the draft so it is consistent with the verification results.
Remove any claim that could not be verified. Do not add new unverified claims.

Failure modes

Markdown version: /blueprints/chain-of-verification.md

Want a deeper build of this?

Vote for an extended, fully tested version (more tools, a full workflow file). Votes decide what we build next.

– votes

Get one fully built blueprint a week

A weekly email: one blueprint with config, cost, setup time and failure modes, plus a vote on what we build next.

Related blueprints