A powerful web app that lets users upload documents (PDFs, CSVs, Excels) and automatically extract actionable insights based on custom KPIs using Claude AI.
- ✅ Upload multiple documents (
.pdf,.csv,.xls,.xlsx) - ✅ Add unlimited custom KPIs (Key Performance Indicators)
- ✅ Automatically extract content from:
- PDFs using
PyPDF2 - CSV/Excel using
pandas
- PDFs using
- ✅ Claude AI-powered insight generation per KPI
- ✅ User-friendly frontend to view document-wise insights
- ✅ FastAPI backend with Claude integration
- User uploads documents via the frontend.
- User enters KPIs like "Revenue", "Profit", "Expenses", etc.
- Backend processes each document:
- PDFs → text extracted using
PyPDF2 - Excel/CSV → relevant data filtered using
pandas
- PDFs → text extracted using
- Claude AI analyzes the extracted content and generates a short insight per KPI.
- Results are returned and rendered in a dynamic table on the frontend.
| Layer | Tech |
|---|---|
| Frontend | HTML, JavaScript |
| Backend | FastAPI (Python) |
| AI Engine | Claude AI (anthropic) |
| Parsing | PyPDF2, pandas |
| Hosting | Hetzner |
git clone https://github.com/Coolcoder009/Document-Insights-backend.git
cd Document-Insights-backenduvicorn main:app --reload