Chain-of-Verification (CoVe)
What Problem It Solves
Even if a draft “sounds right”, factual claims may be wrong. CoVe turns verification into a first-class step:
- draft
- extract checkable claims
- verify each claim (tool/rules/human)
- revise the draft
Core Flow
flowchart TD
D["Draft answer"] --> X["Extract claims"]
X --> V["Verify claims"]
V --> R["Revise answer"]
R --> O["Final"]
Evolution Path
- Extends: Maker-Checker by focusing on factual claims
- Often combined with: Retrieval / Agentic RAG for evidence gathering
Repo Reference
- Code:
src/agent_patterns_lab/patterns/cove.py - Example:
examples/32_cove.py - Tests:
tests/test_cove.py