Skip to content

fepegar/telegram-gpt-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 @BotFather
  • TELEGRAM_CLIENT_ID: Telegram client ID from @userinfobot
  • OPENAI_API_KEY: OpenAI API key from OpenAI

Installation

pip install telegpt

Launch the bot

telegpt

Usage

  • Text /new to 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.

About

Use ChatGPT with your voice (in any language) and Telegram.

Topics

Resources

Stars

Watchers

Forks

Languages