How ad-h/verilingo works
VeriLingo is a claim-verification application with a React workspace and FastAPI backend. Users submit text claims or an image containing a claim; image uploads are OCR-processed, then both paths retrieve and rank live-web evidence, assess support or contradiction, and return a report. The backend also persists report JSON and searchable history. The graph follows relationships shown in the provided excerpts and SOURCE INDEX; unsampled capabilities or links are omitted rather than inferred.
Main entry points: main.py API routes · web_retrieval.py Evidence retrieval and ranking · App.jsx Verification workspace · web_search.py Web search
Components 14
User workspace
- Verification workspace
frontend/src/App.jsx
Verification API
- API routes
main.py - Image OCR
main.py
Evidence retrieval
- Claim analysis
claim_analyzer.py - Web search
web_search.py - Evidence retrieval and ranking
web_retrieval.py - Page extraction
source_retriever.py - Text chunking
document_processor.py
Claim assessment
- Evidence assessment
demo_verifier.py
Report persistence
- Report archive
s3_storage.py - Verification history
dynamodb_storage.py
Other components
- Investigator
- Amazon Web Services
- Web search service
Connections 17
- Investigator → Verification workspace: submits claim
frontend/src/App.jsx - Verification workspace → API routes: calls API
frontend/src/App.jsx - API routes → Evidence retrieval and ranking: retrieves evidence
main.py - API routes → Evidence assessment: assesses evidence
main.py - API routes → Image OCR: extracts image text
main.py - Image OCR → Evidence retrieval and ranking: retrieves for text
main.py - Evidence retrieval and ranking → Web search: searches claim
web_retrieval.py - Web search → Claim analysis: builds queries
web_search.py - Web search → Web search service: queries
web_search.py - Evidence retrieval and ranking → Page extraction: fetches pages
web_retrieval.py - Evidence retrieval and ranking → Text chunking: chunks text
web_retrieval.py - API routes → Report archive: saves report
main.py - API routes → Verification history: saves metadata
main.py - Verification workspace → API routes: loads history
frontend/src/App.jsx - API routes → Verification history: reads history
main.py - Report archive → Amazon Web Services: writes object
s3_storage.py - Verification history → Amazon Web Services: queries table
dynamodb_storage.py