GithubHelp home page GithubHelp logo

chatgpt_telegram_bot's Introduction

ChatGPT Telegram Bot

This is the fork of original ChatGPT Telegram Bot github repo.

This repo is ChatGPT re-created as Telegram Bot. And it works great.

The main goal of this fork is to deploy the original one along with implementing my own specific needs.

Features

  • Low latency replies (it usually takes about 3-5 seconds)
  • No request limits
  • Message streaming
  • GPT-4 and GPT-4 Turbo support
  • GPT-4 Vision support
  • DALLE 2 (choose ๐Ÿ‘ฉโ€๐ŸŽจ Artist mode to generate images)
  • Voice message recognition
  • Code highlighting
  • special chat modes: ๐Ÿ‘ฉ๐Ÿผโ€๐ŸŽ“ Assistant, ๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป Code Assistant, ๐Ÿ‘ฉโ€๐ŸŽจ Artist, and others.
  • List of allowed Telegram users
  • Track $ balance spent on OpenAI API

News (compared to forked repo)

MKrinitskiy:

  • 19 Aug 2024: added gpt-4o-mini support
  • 19 May 2024: Replaced gpt-4-turbo with GPT-4o.
  • 24 Apr 2024: Added gpt-4-turbo-2024-04-09 support (aliased as gpt-4-turbo)
  • 25 Apr 2024: Added summarizing chat mode
  • 26 Apr 2024: Added text files summarizing in the summarizing chat mode
  • 28 Apr 2024: DALL-E 2 changed to DALL-E 3

Bot commands

  • /retry โ€“ Regenerate last bot answer
  • /new โ€“ Start new dialog
  • /mode โ€“ Select chat mode
  • /balance โ€“ Show balance
  • /settings โ€“ Show settings
  • /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
  4. ๐Ÿ”ฅ And now run:

    docker-compose --env-file config/config.env up --build

References

  1. Build ChatGPT from GPT-3
  2. Main contributor: @karfly
  3. Father.Bot.

chatgpt_telegram_bot's People

Contributors

mkrinitskiy avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.