Skip to content

santiago68310/AI-Tg-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Telegram Bot 🤖

A powerful Telegram bot that combines voice interactions, text responses, and GPT-4 capabilities to provide an engaging user experience.

Features ✨

  • 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

Commands 🎯

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

Setup 🛠️

  1. Install required packages:
pip install -r requirements.txt
  1. Create a .env file with your API keys:
TG_TOKEN=your_telegram_token
OPENAI_API_KEY=your_openai_api_key
  1. Run the bot:
python src/main.py

Usage Examples 💡

  • Text query: /ask What's your name?
  • Voice response: /voice Tell me about yourself
  • Send a voice message to get AI-powered responses

Tech Stack 🔧

  • Python-Telegram-Bot
  • OpenAI GPT-4
  • Whisper AI for voice transcription
  • Text-to-Speech capabilities

Contributing

Contributions are welcome! Feel free to open issues or pull requests.

License

This project is licensed under the MIT License.

About

A powerful Telegram bot that combines voice interactions, text responses, and GPT-4 capabilities to provide an engaging user experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages