{% extends "base.html" %} {% block title %}Home - Detect Fake News{% endblock %} {% block content %}

Detect Fake News with Confidence

Our AI-powered platform helps you identify misinformation and verify the authenticity of news articles and information online.

AI Powered Platform Graphic

How TruthCheck Works: The AI Verification Process

1. Text Embedding (Vectorization)

The core of our technology is the AI model, "all-MiniLM-L6-v2". It converts the news headline you enter into a "numerical vector" (embedding). This vector mathematically represents the semantic meaning of the text, allowing for objective comparison.

2. Data Sourcing & Comparison

The detector first checks for an extremely high match (similarity > 0.9) against a database of "pre-verified facts". If no direct match is found, it queries the web using the SerpAPI (Google Search API) to retrieve the top 5 most relevant articles from trusted online sources in real-time.

3. Verdict Generation

Beyond just similarity, our AI uses a Cross-Encoder to check for logical contradictions. Even if words match, if the meaning is opposite (like 'Won' vs 'Lost'), the T5 Model identifies the error and provides a detailed explanation.

Technology Summary

{% endblock %}