Simple telegram bot with GPT4free
Thanks to xtekky
Supports poe.com, thb.ai, you.com
Supports multiple bots in poe.com
To do
Add usesless
Add forefront
Download or clone this repository
Change environment variables in .env file. Environment Variables
install the requirements
pip install -r requirements.txt
Run main.py
python main.py
Build
docker build -t telegrambot_gpt4free:latest "."
Docker-compose
docker-compose up --build -d
To run this project, you will need to create a .env file and add the following environment variables
BOT_TOKEN
Get this by messaging @botfather Refer to https://core.telegram.org/bots/tutorial#obtain-your-bot-token
POE_TOKEN
Not mandatory (leave it blank if you don't want to use quora(poe.com))
Sign up to Poe and head over to the site
ctrl+shift+i to open developer console
Go to Application -> Cookies -> https://poe.com
Find the p-b cookie and copy its value, this will be your Poe-token
HG_TOKEN
Sign up on hugging face and get the token from here