Coder Social home page Coder Social logo

aleksey-voko / chatgpt_bot Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 5.0 13 KB

The simplest telegram bot for dialogue with ChatGPT

License: MIT License

Procfile 1.26% Python 98.74%
aiogram aiogram-bot aiogrambot chatgpt chatgpt-api chatgpt-app chatgpt-bot chatgpt-python chatgpt3 openai

chatgpt_bot's Introduction

ChatGPT Bot

wakatime

Telegram-bot (Python, aiogram, OpenAI API)

The simplest telegram bot for dialogue with ChatGPT.
Most capable GPT-3.5 model (gpt-3.5-turbo) and optimized for chat.
Requires OpenAI API token for authorization.
Prepared for deployment on Railway

Deploy on Railway

Variables

  • BOT_TOKEN - Telegram Bot Token
  • CHAT_ID - ID of the telegram chat where the bot is allowed to work.
  • AI_KEY - OpenAI API Token
  • DOMAIN - URL with the name of the application. After deployment, go to the Settings of the project and copy the domain from the Domains section. It should be like worker-production-XXXX.up.railway.app. This will be a value for your DOMAIN variable.

chatgpt_bot's People

Contributors

aleksey-voko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chatgpt_bot's Issues

Bot is not responding.

Hey therw, bot is not responding. And it doesn't require any commands?
Btw, can you please show and example of CHAT_ID in config.py file, how it should look like? Maybr this is where I am making mistake. Thanks in advance
Edit: Ok, it was my mistake. I could not set webhook correctly. But now fixed, thanks

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.