A modern desktop AI chatbot built using Python, Tkinter, and Groq API with real-time streaming responses. This project demonstrates a clean UI, smooth user experience, and asynchronous AI response handling.
- π§ AI-powered chatbot using Groq LLMs
- β‘ Real-time streaming responses
- π¨ Modern & clean Tkinter UI
- π§΅ Multithreading for smooth performance
- β¨οΈ Press Enter to send messages
- β Exit commands:
quit,exit,bye
- Language: Python
- GUI: Tkinter
- AI API: Groq
- Threading: Python threading module
- Dark-themed modern layout
- Scrollable chat window
- Distinct labels for YOU and AI
- Smooth auto-scroll behavior
-
Main Python file containing:
- UI design
- Message handling
- Streaming AI response logic
-
Color theme configuration
-
Thread-safe UI updates
- User types a message
- Message is displayed instantly
- AI response is streamed token-by-token
- UI updates in real time without freezing
To run this project, add your Groq API key in the code:
- Create a Groq account
- Generate an API key
- Paste it inside the Groq client initialization
- Desktop AI assistant
- AI chatbot demo
- Learning Tkinter + API integration
- Streaming AI response projects
- Chat history saving
- Voice input/output
- Multiple model selection
- Theme switcher (Light/Dark)
- Markdown rendering
Khadiza Akter
Aspiring Python & Java Developer
Passionate about AI, UI design, and real-time applications
Happy Coding π