GAIR-NLP/factool

FacTool: Factuality Detection in Generative AI

56
/ 100
Established

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.

Stale 6m
Maintenance 0 / 25
Adoption 14 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

916

Forks

68

Language

Python

License

Apache-2.0

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.