mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-06-13 03:54:57 +03:00
6885653dda837ed1df5c3749b95f0f9f22930528
ChatGPT Telegram Bot: Fast. No daily limits. Special chat modes
We all love chat.openai.com, but... It's TERRIBLY laggy, has daily limits, and is only accessible through an archaic web interface.
This repo is ChatGPT re-created with GPT-3.5 LLM as Telegram Bot. And it works great.
You can deploy your own bot, or use mine: @chatgpt_karfly_bot
Features
- Low latency replies (it usually takes about 3-5 seconds)
- No request limits
- Code highlighting
- Special chat modes: 👩🏼🎓 Assistant, 👩🏼💻 Code Assistant, 🎬 Movie Expert. More soon
- List of allowed Telegram users
- Track $ balance spent on OpenAI API
Bot commands
/retry– Regenerate last bot answer/new– Start new dialog/mode– Select chat mode/balance– Show balance/help– Show help
Setup
-
Get your OpenAI API key
-
Get your Telegram bot token from @BotFather
-
Edit
config/config.example.ymlto set your tokens and run 2 commands below (if you're advanced user, you can also editconfig/config.example.env):
mv config/config.example.yml config/config.yml
mv config/config.example.env config/config.env
🔥 And now run:
docker-compose --env-file config/config.env up --build
References
Languages
Python
99.1%
Dockerfile
0.9%
