🤖 Voice Companion Bot
This companion bot creates an interactive voice assistant that works through Telegram. Users can send voice messages, and the bot will transcribe them, process them with AI, and respond with voice messages back to Telegram.
How it works:
- User sends a voice message via Telegram
- The bot transcribes the voice to text
- AI processes the message and generates a response
- The response is converted to speech
- The voice response is sent back to the user on Telegram
What you'll need:
- Telegram Bot API Key (from @BotFather)
🔑 API Configuration
Telegram Bot API Key (required)
TG_API_KEY
Api Key of your Telegram bot
How to get your Telegram Bot API Key:
- Open Telegram and search for @BotFather
- Start a chat and send /newbot
- Follow the instructions to create your bot
- Copy the API token provided
- Paste it in the TG_API_KEY field below
⚙️ Bot Personality & Voice Settings
Emotional setting of the voice (lower is more emotional)
Bot Emotion:
This defines how your AI assistant will behave and respond. You can customize the personality, tone, and role of your companion bot.
Voice Selection:
Your bot currently uses "Laura (young adult female sunny)" voice from ElevenLabs. You can change this in the voice settings if desired.
📱 How to Use Your Companion Bot
Once you set up your API keys and deploy the bot:
Find Your Bot: Search for your bot's username in Telegram (the username you chose with @BotFather)
Start a Conversation: Send "/start" to begin interacting with your companion
Send Voice Messages: Hold down the microphone button and speak your message
Get Voice Responses: The bot will transcribe your message, process it with AI, and respond with its own voice message
Continue the Conversation: Keep sending voice messages to have a natural conversation flow
Features:
- Real-time voice transcription
- AI-powered responses
- Natural voice conversation
- Contextual awareness (the bot remembers your name after you introduce yourself)