Skip to content

A simple and efficient command-line chatbot built using the Groq API and LLaMA 3.3-70B Versatile model. This project allows users to interact with a powerful large language model directly from the terminal.

Notifications You must be signed in to change notification settings

choudaryhussainali/Groq_API_LLM_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🤖 Groq LLM CLI Chatbot

A simple and powerful command-line chatbot built with the Groq API using the LLaMA 3.3–70B Versatile model. This project allows you to have real-time, intelligent conversations with a large language model directly from your terminal.


📌 Features

  • ⚡ Powered by llama-3.3-70b-versatile from Groq
  • 🧠 Context-aware assistant replies
  • 🔐 Loads API key securely from .env
  • 💬 Continuous chat loop via terminal
  • 🛠 Minimal and extendable code structure

🚀 Getting Started

1. Clone the repository

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

2. Install dependencies

pip install groq python-dotenv

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

python chatbot.py

💾 Project Structure

groq-cli-chatbot/
│
├── chatbot.py          # Main chatbot script
├── .env                # API key (not committed)
├── README.md           # Project documentation
└── requirements.txt    # Optional: dependencies list

🧠 Example Conversation

Enter Your Query (or type 'exit' to quit): What is the capital of Japan?
Assistant: The capital of Japan is Tokyo.

Enter Your Query (or type 'exit' to quit): exit
Goodbye!

📄 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 and the blazing-fast LLaMA models

About

A simple and efficient command-line chatbot built using the Groq API and LLaMA 3.3-70B Versatile model. This project allows users to interact with a powerful large language model directly from the terminal.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages