Installation
Requirements
- Python 3.11+
- OpenAI API key (or Anthropic for multi-model)
- Typer 0.24+ (CLI framework)
Install
Or with Poetry:
Set API Keys
Or use a .env file:
Verify Installation
Should output: Truthfulness Evaluator v0.1.0
Optional Dependencies
Web search is enabled by default using duckduckgo-search (bundled with the package).
For development:
Note: refchecker is optional and NOT required. The tool works without it by falling back to LLM-based extraction.
Troubleshooting
ImportError: No module named 'refchecker'
RefChecker is optional and NOT required. The tool automatically falls back to LLM-based extraction. You can safely ignore this warning.
If you want to use triplet extraction:
DuckDuckGo search not working
Rate limits
Use cheaper models for extraction: