A powerful Telegram bot that combines voice interactions, text responses, and GPT-4 capabilities to provide an engaging user experience.
- Smart Conversations: Powered by GPT-4 for intelligent responses
- Voice Interaction: Support for voice messages and text-to-speech
- Audio Transcription: Convert voice messages to text using Whisper AI
- Interactive UI: Clean interface with inline buttons
/start- Initialize the bot and get welcome message/ask- Get text responses to your questions/voice- Receive voice responses to your queries/help- View all available commands and usage instructions
- Install required packages:
pip install -r requirements.txt- Create a
.envfile with your API keys:
TG_TOKEN=your_telegram_token
OPENAI_API_KEY=your_openai_api_key
- Run the bot:
python src/main.py- Text query:
/ask What's your name? - Voice response:
/voice Tell me about yourself - Send a voice message to get AI-powered responses
- Python-Telegram-Bot
- OpenAI GPT-4
- Whisper AI for voice transcription
- Text-to-Speech capabilities
Contributions are welcome! Feel free to open issues or pull requests.
This project is licensed under the MIT License.