AP.

Loading portfolio

Reload page

Backend engineering / MLOps / Applied AI

Arun Prasath P.

From information to understanding.

← PortfolioVerifAISource code ↗
01 / 03AI systems · 2026

VerifAI

Fact-checking engine for LLM answers

LLM answers mix true and invented statements in the same paragraph, and a single "this looks wrong" flag is useless. VerifAI splits an answer into claims and checks each one against evidence.

VerifAI application interface screenshot
Actual interface screenshot — public deployment · Displayed UI values are not independently verified metrics.
01 / INPUT

Answers from ChatGPT, Claude, Gemini, DeepSeek, Perplexity

02 / PROCESS

A five-stage pipeline: claim extraction, taxonomy classification, evidence retrieval, a multi-judge engine, and a decision engine that arbitrates a consensus verdict.

03 / OUTPUT

Per-claim verdicts with an audit trail

STACKPython / FastAPI / BM25 / Chrome MV3 / Pytest / Ruff / Mypy

01Implementation

What I built.

  1. 01

    A five-stage pipeline: claim extraction, taxonomy classification, evidence retrieval, a multi-judge engine, and a decision engine that arbitrates a consensus verdict.

  2. 02

    Retrieval that searches a private knowledge base first and only then cascades to live web evidence.

  3. 03

    A Chrome Manifest V3 extension that intercepts responses on the major chat platforms, plus a CLI and a REST API.

  4. 04

    Hardening: SSRF validation on every ingested URL and prompt-injection text treated as untrusted data rather than instructions.

02Interactive example

Check an answer, claim by claim

Illustrative: a six-fact demo KB and regex judges stand in for the real retrieval and judges.

  1. C1Water freezes at 0 °C.supportedMatches KB: water freezes at 0 °C at 1 atm.
  2. C2Water boils at 70 °C at sea level.contradictedKB says 100 °C at sea level.
  3. C3The Great Wall is visible from space.contradictedKB: not visible to the naked eye from orbit.
  4. C4Python was created by Guido van Rossum.supportedMatches KB: created by Guido van Rossum.
03Trade-offs

Decisions worth defending.

01

Independent judges

A rule-based judge and a semantic judge score each claim separately; the decision engine only agrees when the evidence does.

02

Works offline

Local BM25 and fallback retrievers keep verification running when third-party search APIs are unreachable.

03

CI as a gate

Ruff, Mypy, and Pytest run in GitHub Actions on every push to the backend.

04Evidence

From the repository.

Figures as documented in the project README.

Pipeline stages
5
Platforms read
5
Fallback
local BM25
Client
Chrome MV3