An AI-powered desktop chatbot built using Python, Tkinter, and the Groq API. The chatbot supports both Hindi and English conversations, voice interaction, PDF chat export, and a user-friendly graphical interface.
- 🤖 AI-powered responses using Llama 3.3 70B via Groq API
- 🎨 Modern Dark Theme GUI
- 🎤 Voice Input Support
- 🔊 Text-to-Speech Output
- 💾 Download Chat History as PDF
- 🌐 Hindi & English Language Support
- 📅 Current Date & Time Queries
- 😄 Jokes and Fun Interactions
- 💬 Basic Emotional Support Conversations
- Python
- Tkinter
- Groq API
- pyttsx3
- SpeechRecognition
- fpdf2
pip install groq pyttsx3 SpeechRecognition fpdf2
- Create a free account at: https://console.groq.com
- Generate an API key and set it as an environment variable.
- set GROQ_API_KEY="your_api_key_here"
- export GROQ_API_KEY="your_api_key_here"
python ai_chatbot.py
While building this project, I learned:
- API integration using Groq
- GUI development with Tkinter
- Speech recognition and text-to-speech
- PDF generation using Python
- Managing user interactions in desktop applications
- Chat history database
- Multiple AI model selection
- Custom themes
- File upload support
- Better voice recognition
Raghav Bhola
If you found this project useful, consider giving it a ⭐ on GitHub.



