A minimal example demonstrating a multimodal financial report summarizer and comparator API. This project uses Python 3.13, Pydantic 2.x, FastAPI, and CrewAI.
- Python 3.13 installed
- uv package manager installed
-
Clone the repository:
git clone https://github.com/yourusername/rbcrew.git cd rbcrew
-
Install dependencies with uv:
uv sync
This command will install all required packages as specified in
pyproject.toml
.
Run the server with uvicorn:
uv uvicorn app:app --reload
Then, open your browser and visit http://127.0.0.1:8000 to access the PDF uploader interface.
- Upload PDFs: Use the web form at the root URL (
/
) to upload one or more PDF reports. - Process PDFs: Call the
/process
endpoint to run summarization on each uploaded PDF and generate a comparison report. - Clear Data: Use the
/clear
endpoint to remove all stored PDFs and results.