← All projects
Document Model
Prototype AI · fintech 2025AI contract analysis with a Monte Carlo engine for probabilistic risk assessment.
- Python 3.13
- FastAPI
- OpenAI GPT-4o
- NumPy
- Pandas
- SciPy
- Matplotlib
- PostgreSQL
Overview
Document Model extracts a financial model straight from a PDF or text contract using GPT-4o, then runs a Monte Carlo simulation over thousands of trajectories to produce a risk assessment — stability ratings, sensitivity heatmaps, and outcome distributions — exposed through a FastAPI service.
Highlights
- PDF & text parsing with AI model extraction (GPT-4o)
- Configurable Monte Carlo simulation engine
- Stability ratings: Very Stable → Volatile
- Sensitivity heatmaps and trajectory plots
- PostgreSQL persistence + REST API