ziwei531 / chatgpt_telegram_bot

chatgpt for telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT Telegram Bot: Fast. No daily limits. Special chat modes

This repo is forked from https://github.com/karfly/chatgpt_telegram_bot

Bot commands

  • /retry – Regenerate last bot answer
  • /new – Start new dialog
  • /mode – Select chat mode
  • /balance – Show balance
  • /help – Show help

Setup

  1. Get your OpenAI API key

  2. Get your Telegram bot token from @BotFather

  3. Edit config/config.example.yml to set your tokens and run 2 commands below (if you're advanced user, you can also edit config/config.example.env):

    mv config/config.example.yml config/config.yml
    mv config/config.example.env config/config.env

if Windows: move config/config.example.yml config/config.yml move config/config.example.env config/config.env

  1. Ensure you have docker installed. Then Run:
    docker-compose --env-file config/config.env up --build

About

chatgpt for telegram

License:MIT License


Languages

Language:Python 97.7%Language:Dockerfile 1.4%Language:Shell 0.8%