mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-06-13 03:54:57 +03:00
c255d4cb15f799f3593060a10671c1ca7a2b9793
ChatGPT Telegram Bot (fast and no limits)
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.
Features
- Low latency replies (it usually takes about 3-5 seconds)
- No request limits
- Code highlighting
- Different chat modes (👩🏼🎓 Assistant, 👩🏼💻 Code Assistant, 🎬 Movie Expert)
/retrycommand to regenerate last bot answer- Control of allowed Telegram users
- Next up: warn user that the size of the context is close to the maximum
Setup
-
Get your OpenAI API key
-
Get your Telegram bot token from @BotFather
-
Edit
config.example.ymlto add your tokens and raname it toconfig.yml:
mv config.example.yml config.yml
🔥 And now run:
docker compose up --build
References
Languages
Python
99.1%
Dockerfile
0.9%