Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Fact-check content with citations and claim flags
praisonai recipe run ai-fact-checker \ --input '{"content": "GPT-5 has 10 trillion parameters..."}' \ --json
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} } }
{ "claims": [ { "claim": "GPT-5 has 10 trillion parameters", "status": "unverified", "confidence": 0.3, "citations": [], "flag": "needs_verification" } ], "overall_accuracy": 0.7 }