Telegram bot for ChatGPT
Send voice notes in any language (which will be translated to English) or text messages to ChatGPT.
Set environment variables
TELEGRAM_BOT_TOKEN: Telegram token from bot created using @BotFatherTELEGRAM_CLIENT_ID: Telegram client ID from @userinfobotOPENAI_API_KEY: OpenAI API key from OpenAI
Installation
pip install telegpt
Launch the bot
telegpt
Usage
- Text
/newto the bot to restart so it forget the last conversation. - Voice notes in any language will be translated to English before being passed to ChatGPT.
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.1.tar.gz
(6.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telegpt-0.1.1.tar.gz.
File metadata
- Download URL: telegpt-0.1.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4befeb3550e1270bfb02ff773fadb4dee11d57e79f673b15343f8bb3e6a08a4
|
|
| MD5 |
de6671b5238472789254c6e0bebd3207
|
|
| BLAKE2b-256 |
82a46ae88bfa76ec57093504f7eb56b843587d67f19501322f0fd6d189023cc2
|
File details
Details for the file telegpt-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: telegpt-0.1.1-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 |
6f6259921e9c60d9f74e66fee8cb6a60f583de40c2dfe90f349c4e0dbffe2c61
|
|
| MD5 |
64fcebb9354c56baa221e40d502737ce
|
|
| BLAKE2b-256 |
ecdfa151a0681a9b3af69b57b87ab018d72200433928c2f4b9eb2bd6f19b2d13
|