Skip to content

An interactive AI chatbot built with Streamlit and Groq API using the powerful llama-3.3-70b-versatile model. Features include a modern UI, memory toggle, and downloadable chat history. Ideal for testing LLMs or deploying a smart assistant in real-time.

Notifications You must be signed in to change notification settings

choudaryhussainali/llama3-streamlit-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Groq LLM Streamlit Chatbot

An interactive and powerful AI chatbot with UI, built using Groq API and the LLaMA 3.3–70B Versatile model. This Streamlit project allows users to have real-time, intelligent conversations with a large language model through a modern and user-friendly web interface.


📌 Features

  • ⚡ Powered by llama-3.3-70b-versatile from Groq
  • 💬 Beautiful Streamlit-based UI chat interface
  • 🧠 Optional context-aware assistant replies (memory on/off)
  • 💾 Downloadable chat history in .txt format
  • 🎨 Custom CSS for enhanced UI and centered sidebar image
  • 🔐 Secure API key handling via .env

📸 Screenshots

Screenshot (31)

Screenshot (32)


🚀 Getting Started

1. Clone the repository

git clone https://github.com/yourusername/groq-streamlit-chatbot.git
cd groq-streamlit-chatbot

2. Install dependencies

pip install -r requirements.txt

3. Set up your .env file

Create a .env file in the root directory and add your Groq API key:

GROQ_API_KEY=your_groq_api_key_here

4. Run the chatbot

streamlit run app.py

💾 Project Structure

groq-streamlit-chatbot/
│
├── app.py              # Main Streamlit chatbot application
├── .env                # API key (excluded from version control)
├── README.md           # Project documentation
└── requirements.txt    # List of Python dependencies

🧠 Example Conversation

💬 Type your message: Hello! What can you do?

🤖 Assistant: Hi there! I’m an AI assistant powered by the LLaMA 3.3 model. I can help answer questions, explain topics, and chat with you in natural language!

💬 Type your message: Tell me a joke.

🤖 Assistant: Why did the computer show up at work late? Because it had a hard drive! 😄

📄 License

This project is proprietary and confidential. All rights reserved.

© 2025 HUSSAIN ALI. This code may not be copied, modified, distributed, or used without explicit permission.

📬 Contact

For questions or collaboration requests:


✨ Built using Groq, Streamlit, and the blazing-fast LLaMA 3.3 models

About

An interactive AI chatbot built with Streamlit and Groq API using the powerful llama-3.3-70b-versatile model. Features include a modern UI, memory toggle, and downloadable chat history. Ideal for testing LLMs or deploying a smart assistant in real-time.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages