Skip to content

vivitoa/AI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI Chatbot with Groq API 🌐

This is a simple AI chatbot πŸ“ built using Python 🐍 and Tkinter 🎨. The chatbot interacts with the Groq API πŸ”— to generate AI-powered responses 🧠.

✨ Features

  • πŸ–€ Dark-themed GUI
  • πŸ”„ Model selection (πŸ¦™ Llama3, 🀹 Mixtral, πŸ’Ž Gemma)
  • πŸŽ›οΈ Customizable system prompt
  • πŸ’Ύ Chat history saving

πŸ› οΈ Installation

  1. πŸ“₯ Clone the repository:
    git clone https://github.com/yourusername/yourrepo.git
    cd yourrepo
  2. βš™οΈ Install dependencies:
    pip install groq tkinter
  3. ▢️ Run the chatbot:
    python chatbot.py

πŸ”‘ Obtaining an API Key

  1. 🌍 Visit the Groq API website.
  2. πŸ“ Sign up or log in.
  3. πŸ“‘ Navigate to the API section and generate an API key.
  4. πŸ–ŠοΈ Replace "API KEY" in chatbot.py with your actual API key.

πŸ’¬ Usage

  1. ▢️ Run the chatbot script.
  2. πŸ“Œ Select a model from the dropdown.
  3. ⌨️ Type a message and press Enter or click "Send" πŸš€.
  4. πŸ› οΈ Set a custom prompt using the "Set Prompt" button (optional).
  5. πŸ”š Type exit or quit to close the chatbot and save chat history πŸ—ƒοΈ.

About

AI Chatbot with Groq API! πŸ€–

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages