Table of Contents / Содержание
Link to project in GitHub: https://github.com/RomiconEZ/AgentBot
This Telegram Bot is part of the contact center automation system for the travel industry.
It provides functions for working with clients to travel agents.
The main goals of the bot:
- Sending information about waiting clients to agents so that they can contact them;
- editing information about agents
- receiving feedback in excel format
- basic functions (add/delete/update/get all in excel format) for tours (in the future, users will be able to search for tours through text queries according to their wishes)
Данный Telegram Бот является частью системы автоматизации контакт-центра для тур-бизнеса.
Он предоставляет функции для работы с клиентами агентам тур-бизнеса.
Основные цели бота:
- отправление информации об ожидающих клиентах агентам, чтобы они могли с ними связаться;
- редактирование информации об агентах
- получение отзывов в формате excel
- базовые функции(добавление/удаление/обновление/получение всех в excel формате) для туров (в дальнейшем пользователям будет доступен поиск туров через текстовые запросы по их желаниям)
-
Clone the repository.
-
Copy the
.env.example
file in the directory and change the name to.env
. Customize the env file for your project. -
Compile locales with a separate command
pybabel compile -d bot/locales
-
Launch the Backend Server (https://github.com/RomiconEZ/GenerativeBackend) (At the beginning of the bot's work, a request is made to GenerativeBackend to receive telegram ids of superagents to create admin versions of the chat)
-
In the terminal, navigate to the root directory of the cloned repository. Build the Docker containers with the following command:
docker compose up -d --build
Make migrations
docker compose exec bot alembic upgrade head
- http://localhost:3005 - Grafana
- http://localhost:5015 - Admin panel
-
/get_customer - get a customer in the queue / получить клиента в очереди
(Client data contains telegram username, summarization of the user's dialogues with the bot for the last 5 messages, and date of addition to the queue)
-
/new_chat - create a new chat / создать новый чат (clear chat history)
-
/get_reviews - get customer reviews in excel / получить отзывы клиентов в ехсеl
-
/get_agents - get agents in excel / получить агентов в excel
-
/delete_agent - delete an agent / удалить агента
-
/add_agent - add an agent / добавить агента
-
message - generating a response to a message from LLM / генерация ответа на сообщение от LLM
This project is licensed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license. See the LICENSE file for details.
Roman Neronov:
- email: roman.nieronov@gmail.com / roman.nieronov@mail.ru
- telegram: @Romiconchik