This Flask-based web application enables intelligent data filtering using natural language prompts. By leveraging AI (Groq API), users can easily analyze CSV files through intuitive, conversational filtering.
- CSV file upload
- AI-powered natural language data filtering
- Interactive column selection
- Real-time data visualization
- CSV download functionality
- Python 3.8+
- Groq API Key
git clone https://github.com/nikhilyadav09/Breakout_LLM_assesement.git
cd your-project-directory
python3 -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
pip install -r requirements.txt
- Create a
.env
file in project root - Add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here
python app.py
- Upload a CSV file
- Select a column
- Enter a natural language prompt like:
- "Show rows where price is greater than 100"
- "Find entries with rating less than 3"
- View filtered results
- Download filtered data as CSV
- "Show me rows where time_spent is more than 20"
- "Filter data with rating equal to 4"
- "Select entries where price is less than 50"
- Supports various comparison operators
- Provides clear error messages
- Handles type conversion automatically
- Flask
- Pandas
- Groq AI
- Python
- Ensure CSV has numeric columns
- Use clear, simple language in prompts
- Check internet connection for AI processing
This is the video Link attached for my AI submission
https://drive.google.com/file/d/1A8i8pF5Vwgss7yCCoIZJl6HJ30ALQkOx/view?usp=sharing