Interface ClaimVerdict

Verdict for a single verified claim.

interface ClaimVerdict {
    text: string;
    verdict: "supported" | "contradicted" | "unverifiable" | "weak";
    confidence: number;
    sourceIndex?: number;
    sourceSnippet?: string;
    sourceRef?: string;
    webVerified?: boolean;
}

Properties

text: string

The atomic claim text.

verdict: "supported" | "contradicted" | "unverifiable" | "weak"

Verification verdict.

confidence: number

Cosine similarity to best-matching source (0-1).

sourceIndex?: number

Index of the best-matching source in the input array.

sourceSnippet?: string

The matching source fragment (truncated to 200 chars).

sourceRef?: string

Source URL or file path.

webVerified?: boolean

True if this claim was verified via web search fallback.