ALEX is a voice-enabled, multilingual AI chatbot built using Python. It leverages the Groq LLaMA-3.1 API to provide conversational responses in multiple languages and includes text-to-speech so the bot can speak its replies.
The chatbot supports English, Hindi, Telugu, Tamil, and Kannada, and features a friendly, short, and clear response style by default (customizable).
- Multilingual Speech Recognition: Speak in English, Hindi, Telugu, Tamil, or Kannada.
- Voice Responses: Text-to-speech replies using
gTTSandpygame. - Customizable Personality: Adjust the
systemmessage to change the bot’s behavior or tone. - Thread-Safe GUI: Prevents overlapping chats and ensures smooth user interaction.
- Simple GUI: Built with Tkinter for easy use and interaction.
- Python 3.8+
requestsspeech_recognitiongttspygametkinter(usually included with Python)- A valid Groq API key
Install Python dependencies:
pip install requests speechrecognition gtts pygame
##TO run the alex multingual chatbot
cd to stt.py and run the stt.py file