QueryMind is your AI-powered data analysis companion. Upload any CSV file and chat with your data—get instant insights, visualizations, and code explanations, all powered by OpenAI GPT-4o and Streamlit.
- Upload & Preview: Instantly upload and preview your CSV data.
- Conversational Analysis: Ask questions in plain English—no coding required!
- Automatic Code Generation: See the Python (pandas/matplotlib) code generated for your queries.
- Visual Insights: Get beautiful charts and plots on demand.
- Smart Explanations: Receive concise, natural language explanations for every result.
- Powered by OpenAI GPT-4o: Leverages the latest in AI for accurate, context-aware answers.
git clone https://github.com/yourusername/QueryMind.git
cd QueryMindpip install -r requirements.txt
pip install streamlit openai matplotlib pandasCreate a file at .streamlit/secrets.toml and add:
OPENAI_API_KEY = "your-openai-api-key"streamlit run data_analysis.pyOpen http://localhost:8501 in your browser.
- Upload your CSV file.
- Review the dataset summary and suggested questions.
- Chat: Ask questions like:
- "Show the distribution of ages."
- "What is the average salary?"
- "Plot sales by region."
- Explore: View results, explanations, and generated code.
| File/Folder | Purpose |
|---|---|
data_analysis.py |
Main Streamlit application |
.streamlit/secrets.toml |
Store your OpenAI API key |
.devcontainer/ |
VS Code/Codespaces dev container config |
LICENSE |
MIT License |
README.md |
Project documentation |
- Streamlit – Fast, beautiful web apps for data science
- OpenAI GPT-4o – State-of-the-art language model
- pandas – Data analysis library
- matplotlib – Plotting and visualization
This project is licensed under the MIT License. See LICENSE for details.
- Inspired by the power of conversational AI and data science.
- Created by Dev7g.
QueryMind – Let your data speak!