Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.15 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.15 KB

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.