Skip to content

feature: Include sources used by AI agent in final JSON report#22

Open
LuizFNJ wants to merge 1 commit intomainfrom
feature/include-sources-in-reports
Open

feature: Include sources used by AI agent in final JSON report#22
LuizFNJ wants to merge 1 commit intomainfrom
feature/include-sources-in-reports

Conversation

@LuizFNJ
Copy link
Copy Markdown
Collaborator

@LuizFNJ LuizFNJ commented Mar 1, 2026

Description
Enhanced the fact-checking report generation to include all sources used by the AI agent during research. This includes URLs from web searches and, potentially, public gazettes. The sources are now captured, deduplicated, and structured in the final JSON report under a dedicated "sources" field, improving transparency and verifiability of the reports.

Related Ticket #8

Type of change
New feature (non-breaking change which adds functionality)

Testing

  • Verify that all URLs collected during AI research appear in the "sources" field of the final JSON report.
  • Confirm that duplicate URLs are removed and each source includes a title, URL, and type.
  • Test with claims that use web search only, gazettes only, and a combination of both.
  • Ensure the inclusion of sources does not affect the content or formatting of the "messages" or other fields in the report.

@LuizFNJ LuizFNJ requested a review from thesocialdev March 1, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant