martriay / telegram-gpt3

GPT3 Telegram bot assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram GPT assistant 🤖🦸‍♂️

telegram-cloud-photo-size-1-4929414827424721630-y

Installation

pip install -r requirements.txt

playwright install

Create .env with:

BOT_TOKEN    = <TELEGRAM_TOKEN>
API_USER     = <OPENAI_USER>
API_PASSWORD = <OPENAI_PASSWORD>

You need an openAI account and a telegram bot token.

Run

Execute simultaneously:

python api.py
python bot.py

Acknowledgements

Reused the https://chat.open.ai automation by Daniel Gross.

About

GPT3 Telegram bot assistant

License:MIT License


Languages

Language:Python 100.0%