Skip to content

Latest commit

 

History

History
89 lines (58 loc) · 2.57 KB

File metadata and controls

89 lines (58 loc) · 2.57 KB

🤖 AI Chatbot with GUI

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.

✨Features

  • 🤖 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

Tech Stack

  • Python
  • Tkinter
  • Groq API
  • pyttsx3
  • SpeechRecognition
  • fpdf2

Installation:

1. Install required libraries:

pip install groq pyttsx3 SpeechRecognition fpdf2

2. Take the API Key:

3. Set the Environment Variable:

Windows

  • set GROQ_API_KEY="your_api_key_here"

Linux / macOS

  • export GROQ_API_KEY="your_api_key_here"

▶️ Run the Project

python ai_chatbot.py

🖼️ Project Preview:

Welcome Screen


AI Response


Hindi Support


PDF Download



What I Learned

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

📌 Future Improvements

  • Chat history database
  • Multiple AI model selection
  • Custom themes
  • File upload support
  • Better voice recognition

👨‍💻 Author

Raghav Bhola

If you found this project useful, consider giving it a ⭐ on GitHub.