Skip to content

About

translator from Russian to English in ChatGPT

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1 Telegram bot that generates responses using chat gpt. Easy to expand. All code is written according to the concept of OOP

Instalation

Change important information in config

  1. edit src/config.py

Install requirements

  1. pip install -r requirements.txt

Final (star program)

  1. python3 src/main.py

Well done!

Structer

📦src
 ┣ 📂handlers
 ┃ ┣ 📜__init__.py
 ┃ ┗ 📜user.py
 ┣ 📂service
 ┃ ┣ 📜ChatGPT.py
 ┃ ┣ 📜__init__.py
 ┃ ┗ 📜animation.py
 ┣ 📜config.py
 ┗ 📜main.py

Iformation

📦src - stock way

📂handlers - message handling methods
┗📜user.py - main message handling method

📂service - communication methods: bd, generators.
┗📜ChatGPT.py - crutch for convenient work with api chatgpt (create an object)
┗📜animation.py - animations in the bot. Very convenient to use, designed to offload the load

📜config.py - config or strings all static variables are stored here
📜main.py - main method (used to run)

About

translator from Russian to English in ChatGPT

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages