Expand description
ProofGuard Module - Multi-Source Verification
Triangulates claims across 3+ independent sources to verify factual accuracy.
§Core Features
- 3+ Source Requirement: Enforces triangulation protocol (CONS-006)
- Contradiction Detection: Identifies conflicting evidence
- Source Tier Ranking: Weights evidence by source quality
- Confidence Scoring: Produces calibrated verification scores
§Source Tiers
| Tier | Weight | Examples |
|---|---|---|
| Tier 1 (Primary) | 1.0 | Official docs, peer-reviewed papers, primary sources |
| Tier 2 (Secondary) | 0.7 | Reputable news, expert blogs, industry reports |
| Tier 3 (Independent) | 0.4 | Community content, forums |
| Tier 4 (Unverified) | 0.2 | Social media, unknown sources |
§Usage
ⓘ
use reasonkit::thinktool::modules::{ProofGuard, ThinkToolContext, ThinkToolModule};
let proofguard = ProofGuard::new();
// Context with claim and sources (JSON format)
let context = ThinkToolContext {
query: r#"{
"claim": "Rust is memory-safe without a garbage collector",
"sources": [
{"name": "Rust Book", "tier": "Primary", "stance": "Support"},
{"name": "ACM Paper", "tier": "Primary", "stance": "Support"},
{"name": "Tech Blog", "tier": "Secondary", "stance": "Support"}
]
}"#.to_string(),
previous_steps: vec![],
};
let result = proofguard.execute(&context)?;Structs§
- Contradiction
Info - Information about detected contradictions
- Issue
Info - Information about verification issues
- Proof
Guard - ProofGuard reasoning module for fact verification.
- Proof
Guard Input - Input format for ProofGuard verification
- Proof
Guard Output - Output from ProofGuard verification
- Proof
Guard Source - Source input for ProofGuard
- Source
Summary - Summary of a source used in verification
- Verification
Stats - Statistics from verification
Enums§
- Proof
Guard Verdict - Verification verdict