{% extends "base.html" %}
{% block title %}Home - Detect Fake News{% endblock %}
{% block content %}
Our AI-powered platform helps you identify misinformation and verify the authenticity of news articles and information online.
Detect Fake News with Confidence
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.
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.
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.