No project description provided
Project description
Telegram bot for ChatGPT
Set environment variables
TELEGRAM_BOT_TOKEN
: Telegram token from bot created using @BotFather.TELEGRAM_CLIENT_ID
: Telegram client ID from @userinfobotOPENAI_API_KEY
: OpenAI API key from OpenAI.
Installation
pip install .
Launch the bot
telegpt
Usage
/new
: Restart the bot so it forget the last conversation.- Voice notes in any language will be translated to English before being passed to ChatGPT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
telegpt-0.1.0.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file telegpt-0.1.0.tar.gz
.
File metadata
- Download URL: telegpt-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6dae38253428c3de1d861158e61b057aba2a9af289044f7fa172a0e9cef3935d
|
|
MD5 |
8e704875bbaa48951acf3509af8e0ae0
|
|
BLAKE2b-256 |
94909f9ffc089c66819a5df2e4ba66ae7300282a45ea9078122c55f2d6301f71
|
File details
Details for the file telegpt-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: telegpt-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cbe38afaef5e7fd2d9ca9b39ea8b01f432e2597747452de5ee83afb97af02075
|
|
MD5 |
9a8b0855b8760158c7ddb487cbf3fdef
|
|
BLAKE2b-256 |
b12e875ad6cb38f153d74285adf3af6f68c44fd48e26ea51ba0e48ad6990eaf1
|