Skip to content

Aleksey-Voko/ChatGPT_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.