This repo is forked from https://github.com/karfly/chatgpt_telegram_bot
/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
if Windows:
move config/config.example.yml config/config.yml move config/config.example.env config/config.env
- Ensure you have docker installed. Then Run:
docker-compose --env-file config/config.env up --build