FinSight is an AI-powered financial analysis platform designed to evaluate the financial health of Small and Medium Enterprises (SMEs).
In Stage 1, the focus is on building a working prototype that:
- Extracts financial data from uploaded documents
- Validates basic accounting consistency
- Computes key financial ratios
- Generates a simple financial health overview
SMEs often struggle with:
- Understanding financial health
- Access to structured financial insights
- Manual and error-prone financial analysis
FinSight solves this by automating extraction + analysis using AI.
- Upload financial documents (PDF/Image)
- Extract structured financial data using OCR
-
Basic accounting check:
- Assets = Liabilities + Equity
-
Key ratio calculations:
- Profit Margin
- Debt-to-Equity Ratio
- Current Ratio
- Structured response using Groq (LLaMA)
- JSON-based output
- Upload → View extracted data → See results
finsight/
├── backend/
│ ├── app/
│ │ ├── main.py
│ │ ├── api/routes.py
│ │ ├── core/
│ │ ├── schemas/
│ │ ├── services/
│ │ └── utils/
│ ├── requirements.txt
│ └── .env
│
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── hooks/
│ │ ├── context/
│ │ ├── pages/
│ │ ├── FinSight.jsx
│ │ └── theme.js
│ ├── package.json
│ └── vite.config.js
│
└── README.md
- FastAPI
- Python
- Pydantic
- OCR (Tesseract / equivalent)
- Groq API (LLaMA 3)
- React (Vite)
- JavaScript
- Context API
cd backend
python -m venv venv
venv\Scripts\activate # Windows
# or
source venv/bin/activate # Mac/Linux
pip install -r requirements.txtCreate a .env file:
GROQ_API_KEY=your_api_key_here
Run the backend:
uvicorn app.main:app --reloadcd frontend
npm install
npm run devPOST /extract
- Input: File (PDF/Image)
- Output: Extracted structured financial data
POST /analyze
- Input: JSON financial data
- Output: Financial ratios + basic score
- Upload financial document
- Extract data via OCR
- Verify/correct data (optional UI)
- Run analysis
- View financial insights
- Basic OCR accuracy (no advanced correction yet)
- Rule-based analysis (no ML models)
- Limited financial metrics
- No historical trend analysis
- ML-based financial scoring (XGBoost/Random Forest)
- SHAP explainability
- Industry benchmarking
- Forecasting (12-month projections)
- PDF report generation
-
Focus on working prototype over perfection
-
Ensure:
- End-to-end flow works ✅
- UI is clean and simple ✅
- Demo is smooth ✅
This project is for educational and hackathon purposes.
FinSight is built to simplify financial intelligence for SMEs using AI.
Stage 1 = Foundation. Execution matters more than complexity.