Skip to main content

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 @userinfobot
  • OPENAI_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


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 hashes)

Uploaded Source

Built Distribution

telegpt-0.1.0-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page