An open API service indexing awesome lists of open source software.

https://github.com/ashwathnakate/autonomous-web


https://github.com/ashwathnakate/autonomous-web

artificial-intelligence data-analysis data-visualization groq-api llama3 python3 streamlit tavily-api

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# 💫 Autonomous Web + CSV Analyzer 🚀

An **AI-powered Streamlit web app** that combines the power of **Llama 3.3**, **Tavily Web Search**, and **Python REPL** to analyze CSV files and generate meaningful insights with stunning visualizations! 😎

---

## 🌟 **Features**
✅ **CSV File Upload** – Easily upload CSV files for quick analysis.
✅ **AI-Powered Insights** – Llama 3.3 generates detailed insights based on your data.
✅ **Web Search Integration** – Fetch real-time info from the web using Tavily.
✅ **Python Code Execution** – Execute Python code dynamically for deeper analysis.
✅ **Beautiful Visualizations** – Generate pair plots, heatmaps, and distribution plots using Seaborn.
✅ **Interactive Chat Interface** – Ask questions and get real-time answers!

---

## 🎯 **How It Works**
1. **Upload a CSV** – Drop your file into the app.
2. **AI-Driven Analysis** – Llama 3.3 analyzes the data and generates insights.
3. **Data Visualization** – Automatic plotting of pair plots, heatmaps, and more!
4. **Ask Questions** – Engage with the AI to get deeper insights.

---

## 🏗️ **Tech Stack**
| 🔧 Tool | 🚀 Description |
|---------|----------------|
| **Streamlit** | Frontend framework for building web apps |
| **Llama 3.3** | AI model for natural language understanding |
| **Tavily API** | Web search tool for real-time information |
| **Python REPL** | Dynamic code execution for analysis |
| **Seaborn & Matplotlib** | Beautiful data visualizations |

---

## 🚀 **Getting Started**

### 1️⃣ **Clone the Repository**
```bash
git clone https://github.com/your-username/autonomous-web-csv-analyzer.git
cd autonomous-web-csv-analyzer
```

---

### 2️⃣ **Set Up Environment**
Create a `.env` file in the root directory and add the following keys:
```plaintext
TAVILY_API_KEY=your_tavily_api_key
GROQ_API_KEY=your_groq_api_key
```

---

### 3️⃣ **Install Dependencies**
```bash
pip install -r requirements.txt
```

---

### 4️⃣ **Run the App**
```bash
streamlit run app.py
```

---

### 5️⃣ Tools Integration:

1. Search Tool: Uses Tavily for web search with a limit of one result.
2. Python REPL Tool: Allows execution of Python code and returns results.
3. LLM Agent:
Initializes a Groq-based LLM (Llama 3.3) with a temperature of 0.7 and a max token limit of 1024.
The agent is capable of using tools like search and Python execution.

---

## 🌈 **Usage**
1. Upload a CSV file.
2. Let the AI analyze the data.
3. View beautiful charts and stats!
4. Ask follow-up questions directly in the chat.

---

## 🖼 Screenshots
![1](https://github.com/user-attachments/assets/c41a9cd8-6d11-4f29-90a6-e6d8ee55c7b2)

![2](https://github.com/user-attachments/assets/4c792781-3e6b-4730-9ae0-e5aa38b3d63f)

---

## 💡 **Pro Tips**
✨ Use high-quality CSV files for better insights.
✨ Ask specific questions for more accurate responses.
✨ Adjust the Python code execution limits if needed.

---

## 🙌 **Contributing**
Contributions are welcome! Feel free to submit a pull request or open an issue. 😎

---

## ❤️ **Support**
If you like this project, please ⭐️ the repo! 😍

---

## 📜 **License**
This project is licensed under the **MIT License**.

---
Inspired by [https://deepnote.com/workspace/Abid%20Ali%20Awan-5efa63e7-7029-4c3e-996f-40e8f1acba6f/project/Autonomous-Web-ac3dd200-32fa-45ff-bfba-70849c657846/README.md]
🚀 _Built with ❤️ by (https://github.com/ashwathnakate)