Fact Engine
The Fact Engine verifies factual claims using deterministic methods first, without requiring LLM calls for most claims.Features
- TF-IDF Semantic Similarity - No LLM needed!
- Keyword Overlap Analysis - Fast and deterministic
- Entity Matching - Numbers, dates, names
- Citation Extraction - With relevance scoring
- Negation Detection - Catch contradictions
- LLM Fallback - Only when confidence is low
Usage
Scoring Methods
| Method | What It Checks | Weight |
|---|---|---|
| Semantic Similarity | TF-IDF cosine distance | 0.25 |
| Keyword Overlap | Shared important words | 0.20 |
| Entity Match | Numbers, dates, names | 0.35 |
| Negation Conflict | Contradicting statements | 0.20 |