This is a Telegram bot that allows you to interact with ChatGPT, an advanced chatbot powered by OpenAI. The bot is designed to run via Docker Compose, making it easy to deploy and manage in any environment.
- Code highlighting
- Chat modes: 🛎 Assistant, 💻 Code Assistant, 📝 Text Improver , ⚫ Blank
- List of allowed Telegram users
- Message streaming
/new
– Start new conversation/mode
– Select chat mode/retry
– Regenerate last bot answer/help
– Show help
-
Get your Telegram bot token from @BotFather
-
Edit
config/config.example.yml
to set your telegram token and Hugging Face api key (write permissions necessary) 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 -f docker-compose.yml up --build