A simple Flask + OpenAI API web app for generating insights from uploaded .csv files. This is a test project showcasing the usage of OpenAI API to provide a business report of a .CSV file provided by the user, default prompt, and additional prompting may be added through an input box.
- Upload
.csvfiles (sales, HR, customer data, etc.) - Automatically generate AI-powered summaries and insights
- Works locally using Flask (served via Docker)
- Easy to extend with new data types or models
| Component | Description |
|---|---|
| Backend | Flask (Python 3.11) |
| AI | OpenAI GPT API (gpt-04-mini by default) |
| Frontend | Simple HTML |
| Container | Docker |
| Data | CSV uploads |
git clone (https://github.com/daniloues/AI-Report.git)
cd AI-reportCreate a .env file in the root directory with:
OPENAI_API_KEY=your_api_key_here💡 You can get a key from https://platform.openai.com/account/api-keys
docker build -t ai-report .
docker run -p 5000:5000 --env-file .env ai-report:latest