This is a simple AI chatbot 📝 built using Python 🐍 and Tkinter 🎨. The chatbot interacts with the Groq API 🔗 to generate AI-powered responses 🧠.
- 🖤 Dark-themed GUI
- 🔄 Model selection (🦙 Llama3, 🤹 Mixtral, 💎 Gemma)
- 🎛️ Customizable system prompt
- 💾 Chat history saving
- 📥 Clone the repository:
git clone https://github.com/yourusername/yourrepo.git cd yourrepo
- ⚙️ Install dependencies:
pip install groq tkinter
▶️ Run the chatbot:python chatbot.py
- 🌍 Visit the Groq API website.
- 📝 Sign up or log in.
- 📑 Navigate to the API section and generate an API key.
- 🖊️ Replace
"API KEY"
inchatbot.py
with your actual API key.
▶️ Run the chatbot script.- 📌 Select a model from the dropdown.
- ⌨️ Type a message and press Enter or click "Send" 🚀.
- 🛠️ Set a custom prompt using the "Set Prompt" button (optional).
- 🔚 Type
exit
orquit
to close the chatbot and save chat history 🗃️.