https://github.com/doyourbest96/kokoa-ai-tgbot
https://github.com/doyourbest96/kokoa-ai-tgbot
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/doyourbest96/kokoa-ai-tgbot
- Owner: doyourbest96
- Created: 2025-03-12T20:09:21.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-12T20:34:13.000Z (7 months ago)
- Last Synced: 2025-03-12T21:25:34.923Z (7 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Kokoa 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:
```bash
pip install python-telegram-bot openai python-dotenv
```2. Create a `.env` file with your API keys:
```
TG_TOKEN=your_telegram_token
OPENAI_API_KEY=your_openai_api_key
```3. Run the bot:
```bash
python bot.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## Made with ❤️ by HighTech
[Visit Website](https://telegram-miniapp-three.vercel.app/)