Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
AI Fact Checker
Extract claims from content, verify them against sources, and provide citations.
CLI Quickstart
praisonai recipe run ai-fact-checker \
--input '{"content": "GPT-5 has 10 trillion parameters..."}' \
--json
Use in Your App (SDK)
import sys
sys.path.insert(0, 'agent_recipes/templates/ai-fact-checker')
from tools import extract_claims, verify_claim, fact_check_content
# Full fact-check
result = fact_check_content("GPT-5 has 10 trillion parameters...")
# Extract claims only
claims = extract_claims("Your content here...")
# Verify single claim
verification = verify_claim("GPT-5 has 10 trillion parameters")
{
"type": "object",
"properties": {
"content": {"type": "string"},
"include_citations": {"type": "boolean", "default": true}
}
}
Output Schema
{
"claims": [
{
"claim": "GPT-5 has 10 trillion parameters",
"status": "unverified",
"confidence": 0.3,
"citations": [],
"flag": "needs_verification"
}
],
"overall_accuracy": 0.7
}
Claim Statuses
| Status | Description |
|---|
| verified | Confirmed with citations |
| unverified | Cannot confirm |
| false | Contradicted by sources |
| partially_true | Some aspects verified |
Environment Variables
| Variable | Required | Description |
|---|
| OPENAI_API_KEY | Yes | For claim extraction |
| TAVILY_API_KEY | Optional | For web search verification |