This Streamlit-based application allows users to interact with CSV files using natural language. Powered by OpenAI's large language model and the PandasAI library, it enables effortless data analysis without writing any code.
- π Upload and analyze multiple CSV files
- π¬ Query your data using plain English
- π€ Responses generated by OpenAI's GPT model
- π§ Intelligent analysis powered by PandasAI
- β‘ Real-time, interactive responses via Streamlit
-
Clone the repository
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name -
Create a virtual environment and activate it python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies pip install -r requirements.txt
-
Add your OpenAI API key Create a .env file and add: OPENAI_API_KEY=your-api-key-here
- Run the Streamlit app: streamlit run your_script_name.py
- Upload one or more CSV files via the interface.
- Type a query like: "Show me the average salary." "What is the trend in sales over time?"
- Get your insights instantly, no coding required.
"How many rows are in the dataset?"
"What is the correlation between age and income?"
"Plot a bar chart of category vs. total revenue."
Python
Streamlit
OpenAI API
PandasAI
pandas
dotenv
This project is open-source under the MIT License.