Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.97 KB

README.MD

File metadata and controls

47 lines (35 loc) · 1.97 KB

License Last commit Repo size Issues Stars Forks

Telegram bot with OpenAI models (GPT, DALL-E)

This is a Telegram bot that uses OpenAI models to generate text and images. It uses the OpenAI API to interact with the models.

Built with Python 3.x, OpenAI API, and Telegram API(Aiogram 3.x), asyncio, Docker, Docker-compose, Pipenv

Installation

Base steps

  1. Clone the repository git clone <repo-url>
  2. Get an API key from OpenAI API
  3. Get a Telegram bot token from BotFather

Without Docker compose

  1. Install pipenv pip install pipenv
  2. Install dependencies pipenv install
  3. Create a .env file with variables listed in the .env.example file
  4. Run the bot pipenv run python main.py

With Docker compose (IN PROGRESS)

  1. Install Docker and Docker compose - Docker | Docker Compose
  2. Create a .env file with variables listed in the .env.example file
  3. Build the image docker-compose up -d --build

Roadmap

  • Multi-language Support
    • Russian
    • English
  • Add DALL-E support
  • Add ChatGPT support
  • Add Docker compose
  • Add Midjounrey support

Contact

Feel free to contact me - @justanotherwork[TG] - justanothercold@icloud.com

(back to top)