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.
- 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
/retry
โ Regenerate last bot answer/new
โ Start new dialog/mode
โ Select chat mode/balance
โ Show balance/help
โ Show help
-
Get your OpenAI API key
-
Get your Telegram bot token from @BotFather
-
Edit
config/config.example.yml
to 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