This is a Telegram bot created using Python and OpenAI that utilizes PyTelegramBotAPI for interacting with Telegram's API. This bot is designed to use OpenAI's GPT-3.5 architecture for generating text-based responses to user queries.
- Clone the repository to your local machine
- Install the dependencies using
pip install -r requirements.txt
- Create a Telegram bot using BotFather and get your bot token
- Get your OpenAI API key by following the instructions here
- Update the
python-chatgpt-bot.py
file with your bot token and OpenAI API key - Run the bot using
python python-chatgpt-bot.py
Once the bot is running, you can interact with it by messaging it on Telegram.
This project was created by Arman Idrisi.
This project is licensed under the MIT License - see the LICENSE file for details.