Analytics AI is a user-friendly, Streamlit-based web application that uses Groq AI (LLaMA 3 model) to help you analyze your CSV and Excel datasets using natural language questions.
๐ Upload your data โ Ask a question โ Get insights powered by AI!
- ๐ Upload CSV, XLSX, or XLS files
- ๐ง Ask data-related questions in natural language
- ๐ Get AI-generated insights with statistics and summaries
- ๐งฎ View descriptive statistics, column types, and missing values
- ๐ค Powered by Groq LLaMA3-70b for high-speed AI processing
- Clone the repository
git clone https://github.com/<your-username>/analytics_ai.git
cd analytics_ai- Install dependencies
pip install -r requirements.txt- Set up environment variables
Create a .env file in the project root and add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here
- Run the Streamlit app
streamlit run app.pyanalytics_ai/
โโโ app.py # Main Streamlit application
โโโ .env # API Key (not committed)
โโโ requirements.txt # Python dependencies
โโโ README.md # Project documentation
-
Launch the app:
streamlit run app.py -
Upload your dataset (CSV or Excel)
-
Explore:
- View data preview
- Check dataset shape and data types
- See statistical summaries
- Check missing values
-
Ask questions like:
- "What are the key trends?"
- "What's the average salary by department?"
- "Which columns are most correlated?"
- What are the top 5 most frequent values in column X?
- What is the average, min, and max of column Y?
- Show trends based on year or category.
- Which columns have missing values?
streamlitpandaschardetgroqpython-dotenv
Install with:
pip install -r requirements.txt- CSV files should preferably be UTF-8 encoded.
- Avoid uploading very large datasets (recommended < 10MB).
- Requires a valid Groq API key to access the LLaMA 3 model.
- Groq โ for providing blazing-fast inference with LLaMA 3.
- Streamlit โ for easy web app deployment.
- Open-source community for continuous inspiration.
Prince Thummar Connect with me on GitHub