GAIR-NLP/factool
FacTool: Factuality Detection in Generative AI
Employs a multi-tool reasoning architecture combining LLM-based claim decomposition, search APIs (Serper for web queries, ScraperAPI for academic literature), and code execution sandboxes to verify factuality across four distinct domains. Supports both claim-level and response-level accuracy metrics, with built-in integration for GPT-3.5/GPT-4 and a ChatGPT plugin interface. Also includes Halu-J, an open-source critique-based hallucination judge model, alongside multilingual evaluation benchmarks (English, Chinese, Japanese).
916 stars and 53 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
916
Forks
68
Language
Python
License
Apache-2.0
Category
Last pushed
Aug 19, 2024
Monthly downloads
53
Commits (30d)
0
Dependencies
11
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/GAIR-NLP/factool"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
multimodal-ai-lab/DEFAME
Fact-checking system for textual and visual inputs.
BharathxD/ClaimeAI
This AI fact-checking system, built with LangGraph, dissects text into verifiable claims,...
metareflection/claimcheck
Dafny verifies proofs; claimcheck confirms intent.
TimLukaHorstmann/T-REX
Real-time fact-checking of tabular claims with SOTA reasoning LLMs.
iacobp/fact-checker
This tool allows Perplexity Pro users to fact-check selected text on any webpage, providing...