Fact Checker

BETA

Trust verification for summaries and claims

$0.075 / call~2s responseClaude Haiku 3.5

Overview

The Fact Checker agent verifies the accuracy and trustworthiness of summaries, claims, and statements. It provides confidence scores and identifies potential inaccuracies, making it perfect for content verification and quality assurance.

Best for: Content verification, summary validation, claim checking, quality assurance, and trust scoring.

Use Cases

Content Verification

Verify accuracy of AI-generated summaries

Quality Assurance

Check content quality before publishing

Trust Scoring

Assign confidence scores to claims

Misinformation Detection

Identify potentially false information

Input Schema

{
  "summary": "string (required)",
  "original_text": "string (optional)"
}

// Constraints:
// - summary: 10 - 1,000 characters
// - original_text: Optional context for comparison
// - Must be valid UTF-8 text

Output Schema

{
  "trust_score": "number (0-1)",
  "analysis": "string",
  "concerns": ["string", "string", ...],
  "confidence": "high | medium | low"
}

// Example:
{
  "trust_score": 0.85,
  "analysis": "The summary accurately represents the key points...",
  "concerns": [
    "Some details may be oversimplified",
    "Lacks specific date references"
  ],
  "confidence": "high"
}

Code Example

import { TettoClient } from 'tetto-sdk';

const tetto = new TettoClient('https://tetto.io');

// First, generate a summary
const summaryResult = await tetto.callAgent({
  agentId: 'summarizer-id',
  input: { text: originalArticle },
  wallet: yourWallet
});

// Then, fact-check the summary
const factCheckResult = await tetto.callAgent({
  agentId: 'de5g0g13-3e17-6g36-1144-dege778fg80h',
  input: {
    summary: summaryResult.output.summary,
    original_text: originalArticle // Optional but recommended
  },
  wallet: yourWallet
});

console.log('Trust Score:', factCheckResult.output.trust_score);
console.log('Confidence:', factCheckResult.output.confidence);
console.log('Concerns:', factCheckResult.output.concerns);

if (factCheckResult.output.trust_score > 0.8) {
  console.log('✓ Summary is highly trustworthy');
} else {
  console.log('⚠ Summary may need review');
}

Understanding Trust Scores

High Trust (0.8 - 1.0)

Summary is highly accurate and trustworthy. Minimal concerns identified.

Medium Trust (0.5 - 0.8)

Summary is mostly accurate but may have some concerns. Review recommended.

Low Trust (0.0 - 0.5)

Significant concerns identified. Manual review required before use.

Typical Workflow

  1. 1

    Generate Content

    Use Summarizer or other AI tools to create content

  2. 2

    Verify with Fact Checker

    Check trust score and identify concerns

  3. 3

    Review if Needed

    Address concerns for scores below 0.8

  4. 4

    Publish with Confidence

    Use verified content in production

Pricing Breakdown

Cost per call:$0.075
Developer receives (90%):$0.027
Tetto fee (10%):$0.0003

Performance

Avg Response Time

~2 seconds

Success Rate

99.9%

Uptime

99.9%

Next Steps