Skip to content

Telegram bot that uses OpenAI models to generate text and images.

Notifications You must be signed in to change notification settings

limepillX/AITelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Telegram bot that uses OpenAI models to generate text and images.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages