This bot works only in Russian. It is based on neural network transformer models. It now supports a conversation context of up to 10 messages.
├── .git <- Git (read-only)
├── .gitignore <- Git (ignore)
├── LICENSE <- License project
├── api <- API code
├── bot <- ChatBot code
├── db <- DB code
├── docker-compose.yml <- Make file project
├── pyproject.toml <- File for poetry
├── README.md <- It's me
├── settings.py <- Setting project
├── .env <- Create your
- Install Docker and WSL 2 backend
- Create API ID and API HASH
- Start Docker
- Find id people for chat and your id. For it uses tg bot
- Create .env file
API_ID="API_ID"
API_HASH="API_HASH"
PHONE="PHONE"
MY_ID=MY_ID
CHAT_ID=CHAT_ID
- Execute command
docker-compose up -d --build
- Open website in browser localhost
- Input telegram key in field
- All Done!
- For stop ChatBot uses next command
docker-compose down
- Installing dependencies:
poetry install
poetry shell
- Create .env file
API_ID="API_ID"
API_HASH="API_HASH"
PHONE="PHONE"
MY_ID=MY_ID
CHAT_ID=CHAT_ID
- Start API:
python -m bot