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

https://github.com/niroj7/ai-assistant

LLM-powered assistant for chat, document parsing, PDF/TXT summarization, and automated CSV analytics — built using Streamlit, Python, and Groq’s Llama models.
https://github.com/niroj7/ai-assistant

chatbot groq-api llm python3 streamlit

Last synced: about 2 months ago
JSON representation

LLM-powered assistant for chat, document parsing, PDF/TXT summarization, and automated CSV analytics — built using Streamlit, Python, and Groq’s Llama models.

Awesome Lists containing this project

README

          

# 🤖 **AI Chat Assistant**

A smart, fast, and interactive **LLM-powered assistant** with file reading, CSV analysis, and conversation memory — built using **Streamlit + Groq API**.

----------------------

## 🔗 **Live Demo**
👉 https://ai-assistant-mheejbemf6k6ydedq3aql7.streamlit.app/

----------------------

## 🚀 **Overview**-

The **AI Chat Assistant** is a modern Streamlit application that enables users to:

- 💬 **Chat with an AI assistant** powered by Groq’s ultra-fast **Llama 3.1 model**
- 📂 **Upload files** (CSV, TXT, PDF) for intelligent summaries
- 📊 **Analyze CSV data** with automated statistics, missing value detection & column insights
- 🧠 Maintain **conversation memory** for improved context
- 🎨 Enjoy a **clean, simple, and modern UI**

Perfect for **recruiters, students, developers, and data enthusiasts** exploring real-world LLM apps.

---

## 🖼️ **Screenshots**

### 🧠 Chat Interface
A clean, modern interface for AI conversations.
AI INTERFACE

### Chat Example
Ask any Question to get an instant answer.
EXAMPLE CHAT BOT

---

## ✨ **Features**

### 💬 **AI Chat Interface**
- Powered by **Groq Llama 3.1**
- Fast responses with memory support

### 📂 **File Reader Module**
- Supports TXT & PDF
- Extracts and summarizes text automatically

### 📊 **CSV Analyzer**
- Dataset preview
- Missing value detection
- Column-level insights
- Automated summary & interpretation

### 🎨 **Modern UI/UX**
- Styled chat bubbles
- Sidebar shortcuts
- Clean layout and responsive design

---

## 🧱 **Tech Stack**

| Tool | Purpose |
|------|---------|
| **Python** | Core backend logic |
| **Streamlit** | UI & Web application |
| **Groq API (Llama 3.1)** | LLM engine |
| **Pandas** | CSV processing |
| **PyPDF2** | PDF extraction |
| **dotenv** | Environment variable handling |

---

## 📁 **Project Structure**
```
AI-ASSISTANT/
│── app.py
│── file_reader.py
│── csv_analyzer.py
│── ui_style.py
│── requirements.txt
│── .gitignore
```

---

## 🛠️ **Running Locally**

### 1️⃣ Clone the Repository
```bash
git clone https://github.com/Niroj7/AI-ASSISTANT.git
cd AI-ASSISTANT
```
2️⃣ Install Dependencies
```
pip install -r requirements.txt
```
3️⃣ Add Your Groq API Key

Create a .env file:
```
GROQ_API_KEY=your_api_key_here
```
4️⃣ Run the App
```
streamlit run app.py
```
## 🎉 **Thank you for viewing this project — happy learning and exploring! 🚀**