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 ποΈ.