Developed by ALAN CYRIL SUNNY
If you find this project helpful, please β star the repository!
A powerful data analysis tool that uses your local AI model (Gemma 3 4B) to provide intelligent insights and visualizations.
- π€ AI-powered data analysis using Gemma 3 4B
- π Automatic plot generation (bar / pie) based on AI suggestions
- π₯§ Supports both bar charts and pie charts
- π₯οΈ Local deployment with no external dependencies
- β‘ GPU-accelerated with CUDA (RTX 2050+)
- π 100% local processing for privacy and control
- AI Data Analysis: Ask questions in natural language and get intelligent insights.
- Automatic Visualization: The AI suggests and generates bar or pie charts.
- Streamlit UI: Simple, modern, and interactive interface.
- Local & Private: All processing is done locallyβyour data never leaves your machine.
- Fast GPU Inference: Optimized for NVIDIA RTX GPUs via CUDA.
- Frontend: Streamlit
- Data Processing: Pandas
- Visualization: Matplotlib
- AI Model: Gemma 3 4B (via LM Studio)
- Model Serving: LM Studio (REST API)
- GPU Acceleration: CUDA (RTX 2050+)
- API Communication: REST API (HTTP)
- Python 3.10 or higher
- LM Studio with Gemma 3 4B model
- CUDA-compatible GPU (RTX 2050 or better)
-
(Optional) Create and activate a virtual environment:
python -m venv .venv .venv\Scripts\activate # Windows
-
Install the required Python packages:
pip install streamlit pandas matplotlib requests
-
Start LM Studio with the Gemma 3 4B model and keep it listening on
http://localhost:1234.
With LM Studio running, launch the app:
streamlit run insight_ai_clean.py- Upload your CSV file using the file uploader.
- Ask questions about your data in natural language.
- AI analyzes your data and provides insights.
- Automatic plots are generated based on the insights.
- "What's the total sales by region?"
- "Which product has the highest sales?"
- "Show sales distribution by product"
- "What's the trend over time?"
This application uses your local Gemma 3 4B model through LM Studio for all AI processing, ensuring complete privacy and control over your data.
Alan Cyril Sunny
Feel free to fork, star β, and contribute!