/telegpt

ChatGPT for telegram

Primary LanguagePython

TeleGPT

streamed output and clearing chat history

showcase.mp4

setting context

showcase2.mp4

ChatGPT for telegram. A simple bot for interacting with openai's revolutionary technology ChatGPT through telegram.

installation

git clone https://github.com/atif5/telegpt
cd telegpt
python3 -m pip install -r requirements.txt

usage

in the credentials.py file, replace the OPENAI_API_KEY variable with yours. (You can get it here)

You can also create your own telegram bot and change the TOKEN variable. After you manage your credentials, you can start the bot:

python3 bot.py

or

py bot.py if you are on windows.

features

☑ ability to change context

☑ streamed output

☑ keeping chat history

☑ token usage showcase

☑ ability to clear history

☑ inline queries

☑ can generate images

☑ can transcribe voice messages and reply

☐ group chat support

notes

This bot can be used in group chats, however it is not specifically designed to be used in group chats. Every chat is unique to a user, not a telegram chat. In the future I may implement a group chat mode though.