Skip to content

Connect Fact-checking API for ReferencesΒ #75

@darshikadubey67

Description

@darshikadubey67

Hello, I am Darshika Dubey, a GSSoC’25 contributor.
I would like to request this issue to be assigned to me.

πŸ“§ Email: darshikadubey67@gmail.com

πŸ™ GitHub: https://github.com/darshikadubey67

πŸ’¬ Discord: darshikadubey_

πŸ”Ž Problem-

Currently, the app only displays the prediction result (True Fact / Fake Fact) with confidence score.
There is no reference to support the prediction, which reduces credibility.

πŸ’‘ Proposed Solution

Integrate a fact-checking API (such as Google Fact Check Tools API or other open fact-check APIs).

Workflow:

  1. User enters a statement β†’ model gives prediction.

  2. The system also calls the API to search fact-check sources for that statement.

  3. Display results (title, source name, URL) below the prediction.

*Example API (Google Fact Check Tools):

GET https://factchecktools.googleapis.com/v1alpha1/claims:search?query="YOUR_QUERY"&key=API_KEY

Returns claim reviews with publisher name, rating, and URL.

🎨 UI/UX Improvement

Add a "Verified Sources" section in result.html under the result card.

Display results like:

βœ… Source: Politifact β€” Claim rated as "False"
πŸ”— Read More

Show up to 3 references.

βœ… Expected Outcome
Adds real-world credibility to predictions.

Users can cross-check the fact themselves.

Makes the project much more practical and trustworthy.

πŸ”” Kindly assign this issue to me. I am excited to implement this API integration.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions