How maheshm-01/docuforge-ai works
DocuForge AI is presented as an India-focused document-intelligence platform that turns uploaded documents into validated business data and downstream actions. Its documented workflow is preprocessing/OCR, classification, extraction, validation and human review, then format-specific export and routing. The tree contains API routes for several stages, but the provided source excerpts are empty; relationships and broader capabilities below therefore reflect README documentation, not verified runtime wiring.
Main entry points: main.py FastAPI application · extract.py Field extraction · export.py Output compiler · validate.py Human review
Components 20
Document intake
- FastAPI application
app/main.py - OCR route
app/api/ocr.py - OCR engine
app/core/ocr_engine.py
Document understanding
- Classification
app/api/classify.py - Field extraction
app/api/extract.py - Table extraction
app/api/extract.py
Validation and review
- Validation
app/api/validate.py - Human review
app/api/validate.py - Review interface
frontend/src
Platform services
- Response schemas
app/schemas/responses.py - Configuration
app/config.py - Document database
app/models - Document search
app - Task queue
- Optional LLM add-on
Outputs and actions
- Output compiler
app/api/export.py - Business formats
app/templates - Workflow automation
workflows
Other components
- Document source
- Business systems
Connections 19
- Document source → FastAPI application: submits documents
README.md - FastAPI application → OCR route: routes requests
- OCR route → OCR engine: runs OCR
README.md - OCR engine → Classification: supplies recognized text
README.md - Classification → Field extraction: identifies document type
README.md - Field extraction → Table extraction: extracts tabular fields
README.md - Field extraction → Validation: provides extracted fields
README.md - Validation → Human review: flags low confidence
README.md - Human review → Output compiler: approves data
README.md - Output compiler → Business formats: compiles formats
README.md - Output compiler → Business systems: routes outputs
README.md - Workflow automation → Business systems: automates actions
README.md - Review interface → Human review: supports review
README.md - FastAPI application → Response schemas: uses response schemas
- FastAPI application → Configuration: uses settings
- FastAPI application → Document database: persists documents
README.md - FastAPI application → Document search: supports retrieval
README.md - FastAPI application → Task queue: dispatches processing
README.md - FastAPI application → Optional LLM add-on: optionally enables
README.md