This bot is powered by OpenAI's GPT-3 API to provide the ultimate communication experience.
- OpenAI API Key
- Telegram Bot API Key
- Go to the OpenAI website and register to get an OpenAI API Key
- Go to the Telegram BotFather and create a bot to get a Telegram Bot API Key
- Add your OpenAI and Telegram Bot API Keys to the configuration
After you have setup the bot, you can start using it by messaging it on Telegram.
The bot will respond to your messages using OpenAI's GPT-3 API.
Clone this repository to your local machine and install the requirements:
git clone https://github.com/leonardosblang/telegram-gpt3
cd telegram-gpt3
pip install -r requirements.txt
To run the bot, you will need to use a tunneling service like ngrok. Once you have set up and started the tunnel, you can run the bot with:
python main.py
This GPT-3 Telegram Bot was created by Leonardo Lang.
- 18/12/2022 Added option to load different models
python main.py --model <model_name>