Files
chatgpt_telegram_bot/README.md
T
2023-01-16 14:20:47 -06:00

1.0 KiB

ChatGPT Telegram Bot (fast and no limits)

We all love chat.openai.com, but...

It's TERRIBLY laggy, has daily limits, and is only accessible through an archaic web interface.

This repo is ChatGPT re-created with GPT-3.5 LLM as Telegram Bot. And it works great.

Features

  • Low latency replies (it usually takes about 3-5 seconds)
  • No request limits
  • Code highlighting
  • /retry command to regenerate last bot answer
  • Control of allowed Telegram users
  • Next up: Different chat modes (code writing helper, therapist, movie expert, etc.)

Setup

  1. Get your OpenAI API key

  2. Get your Telegram bot token from @BotFather

  3. Edit config.example.yml to add your tokens and raname it to config.yml:

mv config.example.yml config.yml

🔥 And now run:

docker compose up --build

References

  1. Build ChatGPT from GPT-3