Web Prototype for Fake News Verification with Gemini API
DOI:
https://doi.org/10.31510/infa.v22i2.2324Keywords:
Fake News, Fact checking, Artificial Intelligence, API GeminiAbstract
The spread of false information on the internet poses a growing risk to society, undermining trust and hindering informed decision-making. This paper presents the development and evaluation of a simple web prototype that uses the Gemini API to analyze short statements in Portuguese, classifying them as true, false, or uncertain. The system also provides a brief justification for each classification and suggests reliable sources for verification. Tests were conducted with 20 statements to assess the system's accuracy, its ability to classify statements correctly, its consistency, and the level of confidence assigned by the model. The prototype achieved 95% accuracy, showing consistent and reliable performance in identifying both true and false statements, though it had more difficulty with uncertain cases. The study proposes improvements such as adjusting the confidence level and integrating the tool with online search engines for real-time verification. This work emphasizes the importance of responsible use of such tools in educational and social contexts to combat misinformation effectively.
Downloads
References
BARCELOS, T. N.; et. al.: Análise de fake news veiculadas durante a pandemia de COVID-19 noBrasil. Revista Panamericana de Saúde Pública, v. 45, e65, 2021. Disponível em: /doi.org/10.26633/RPSP.2021.65>. Acesso em: 12 set. 2025.
BOMMASANI, R. et al. On the Opportunities and Risks of Foundation Models. arXiv, 2021. DOI:10.48550/arXiv.2108.07258. Disponível em: /arxiv.org/abs/2108.07258>. Acesso em: 12 set. 2025.
COURVILLE, A.; GOODFELLOW, I.; BENGIO, Y.: Deep Learning. MIT Press, 2016. Disponível em: /deeplearningbook.org/>. Acesso em: 10 set. 2025.
FIELDING, R.; TAYLOR, R. Principled Design of the Modern Web Architecture. ACM Transactions on Internet Technology, v. 2, n. 2, p. 115-150, 2002. Disponível em: /doi.org/10.1145/514183.514185>. Acesso em: 22 set. 2025.
GOOGLE. AI for Developers – Gemini API reference. [S. l.], 2025. Disponível em:
/ai.google.dev/api>. Acesso em: 15 set. 2025. LAZER, D. M. J. et al. The Science of Fake News. Science, v. 359, n. 6380, p. 1094-1096, 2018. Disponível em: /science.org/doi/10.1126/science.aao2998>. Acesso em: 12 set. 2025.
META. React – A JavaScript library for building user interfaces. [S. l.], 2025. Disponível em:/react.dev/>. Acesso em: 22 set. 2025.
MICROSOFT. TypeScript: JavaScript With Syntax for Types. [S. l.], 2025. Disponível em: /typescriptlang.org/>. Acesso em: 22 set. 2025.
NAS, E.: Agentes de IA: riscos e benefícios. Jornal USP, São Paulo, 23 jan. 2025. Disponível em: /jornal.usp.br/artigos/agentes-de-ia-riscos-e-beneficios/>. Acesso em: 15 set. 2025.
NORVIG, Peter; RUSSELL, Stuart J. Artificial Intelligence: A Modern Approach. 4. ed. London: Pearson, 2021. Disponível em: /aima.cs.berkeley.edu/>. Acesso em: 10 set. 2025.
SHADCN. shadcn/ui – Beautifully designed components. [S. l.], 2025. Disponível em: /ui.shadcn.com/>. Acesso em: 22 set. 2025.
SICHMAN, J. S.: Inteligência Artificial e sociedade: avanços e riscos. 2021. Disponível em: /repositorio.usp.br/item/003108781>. Acesso em: 10 set. 2025.
SOMMERVILLE, I.: Software Engineering. 10. ed. Boston: Pearson, 2016. Disponível em: /pearson.com/store/p/software-engineering/P100000254213>. Acesso em: 22 set. 2025.
TAILWIND LABS. Tailwind CSS – Rapidly build modern websites without ever leaving your HTML. [S. l.], 2025. Disponível em: /tailwindcss.com/>. Acesso em: 22 set. 2025.
VASWANI, A. et al. Attention is All You Need. Advances in Neural Information Processing Systems, 2017. Disponível em: /arxiv.org/abs/1706.03762>. Acesso em: 22 set. 2025.
VITE. Vite – Next Generation Frontend Tooling. [S. l.], 2025. Disponível em: /vitejs.dev/>. Acesso em: 22 set. 2025.
VOSOUGHI, S.; ROY, D.; ARAL, S.: The Spread of True and False News Online. Science, v. 359, n. 6380, p. 1146-1151, 2018. Disponível em:/science.org/doi/10.1126/science.aap9559>. Acesso em:12 set. 2025.
WARDLE, C.; DERAKHSHAN, H.: Information Disorder: Toward an Interdisciplinary Framework for Research and Policymaking. Strasbourg: Council of Europe, 2017. Disponível em: /rm.coe.int/information-disorder-report/168076277c>. Acesso em: 10 set. 2025.
WOOLDRIDGE, M. An Introduction to MultiAgent Systems. 2. ed. Chichester: Wiley, 2009.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Revista Interface Tecnológica

This work is licensed under a Creative Commons Attribution 4.0 International License.
Os direitos autorais dos artigos publicados pertencem à revista Interface Tecnológica e seguem o padrão Creative Commons (CC BY 4.0), que permite o remixe, adaptação e criação de obras derivadas do original, mesmo para fins comerciais. As novas obras devem conter menção ao(s) autor(es) nos créditos.

1.png)
1.png)