How madhanahari/docusure-ai works
DocuSure AI is a prototype for reviewer-assisted institutional document scrutiny. A reviewer submits a PDF through the React interface; the FastAPI analysis endpoint extracts text, runs preliminary checks and optional Groq analysis, saves results, and returns findings for dashboard review. The interface also checks API health and presents saved-document history. The README describes broader compliance support, but official-authority verification and comprehensive regulatory checks are future work. The standalone database helper is included, though the available excerpts do not show it wired into the API; relationships reflect only documented or excerpted evidence.
Main entry points: main.py FastAPI endpoints · App.jsx Review dashboard · docusure.db SQLite records
Components 9
Reviewer interface
- Review dashboard
src/App.jsx
Document analysis
- FastAPI endpoints
backend/main.py - PDF text extraction
backend/main.py - Preliminary checks
backend/main.py - Groq analysis
backend/main.py
Persistence
- SQLite records
backend/docusure.db - Database helpers
backend/database.py
Other components
- Reviewer
- Groq API
Connections 10
- Reviewer → Review dashboard: submits PDF
README.md - Review dashboard → FastAPI endpoints: uploads document
README.md - FastAPI endpoints → PDF text extraction: extracts text
backend/main.py - FastAPI endpoints → Preliminary checks: checks findings
backend/main.py - FastAPI endpoints → Groq analysis: analyzes text
backend/main.py - Groq analysis → Groq API: requests analysis
backend/main.py - FastAPI endpoints → SQLite records: saves records
backend/main.py - FastAPI endpoints → SQLite records: reads history
backend/main.py - FastAPI endpoints → Review dashboard: returns findings
README.md - Reviewer → Review dashboard: reviews results
README.md