Skip to content

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.

Notifications You must be signed in to change notification settings

daniloues/AI-Report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Report

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.


Features

  • Upload .csv files (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

Tech Stack

Component Description
Backend Flask (Python 3.11)
AI OpenAI GPT API (gpt-04-mini by default)
Frontend Simple HTML
Container Docker
Data CSV uploads

Setup Instructions

1️⃣ Clone the repository

git clone (https://github.com/daniloues/AI-Report.git)
cd AI-report

2️⃣ Set your OpenAI API key

Create 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

3️⃣ Build and run with Docker

docker build -t ai-report .
docker run -p 5000:5000 --env-file .env ai-report:latest

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published