title: ÐÐ²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¾Ðµ Ð³ÐµÐ½ÐµÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ ÑÐ°Ñ-Ð±Ð¾ÑÐ¾Ð² Ð¿Ð¾ Ð´ÐµÐºÐ»Ð°ÑÐ°ÑÐ¸Ð²Ð½Ð¾Ð¼Ñ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Automatic generation of chatbots based on declarative description
Creators: name: Ð¡Ð¾Ð±Ð¾Ð»ÐµÐ², ÐÐ°Ð½Ð¸Ð¸Ð»
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2024
Subjects: ÑÐ°Ñ-Ð±Ð¾Ñ
Telegram ÑÐ°Ñ-Ð±Ð¾Ñ
Aiogram-Dialog
Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ñ ÑÐ°Ñ-Ð±Ð¾ÑÐ¾Ð²
Ð´ÐµÐºÐ»Ð°ÑÐ°ÑÐ¸Ð²Ð½Ð¾Ðµ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ðµ
ÑÑÐµÐ½Ð°ÑÐ¸Ð¹ Ð² YAML-ÑÐ¾ÑÐ¼Ð°ÑÐµ
DSL
chatbot
Telegram chatbot
chatbot generation
declarative description
YAML-format script

description: ÐÐ°Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð¿Ð¾ÑÐ²ÑÑÐµÐ½Ð° ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐµ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ° Ð´Ð»Ñ Ð°Ð²ÑÐ¾Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ð¸ ÑÐ°Ñ-Ð±Ð¾ÑÐ¾Ð² Ð½Ð° Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ðµ Telegram Ñ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸ÐµÐ¼ Ð´ÐµÐºÐ»Ð°ÑÐ°ÑÐ¸Ð²Ð½Ð¾Ð³Ð¾ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ. Ð¦ÐµÐ»ÑÑ ÑÐ°Ð±Ð¾ÑÑ ÑÐ²Ð»ÑÐµÑÑÑ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ðµ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ°, ÐºÐ¾ÑÐ¾ÑÑÐ¹ ÑÐ¿ÑÐ¾ÑÑÐ¸Ñ Ð¿ÑÐ¾ÑÐµÑÑ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ¸ ÑÐ°Ñ-Ð±Ð¾ÑÐ¾Ð², ÑÐ»ÑÑÑÐ¸Ñ ÑÐ¸ÑÐ°ÐµÐ¼Ð¾ÑÑÑ ÐºÐ¾Ð´Ð° Ð¸ ÑÐ¾ÐºÑÐ°ÑÐ¸Ñ Ð²ÑÐµÐ¼Ñ Ð½Ð° ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ñ Ð½ÐµÐºÐ¾ÑÐ¾ÑÑÑ Ð²Ð¸Ð´Ð¾Ð² Telegram-Ð±Ð¾ÑÐ¾Ð², ÑÐ¾ÑÑÐ°Ð½ÑÑ Ð¿ÑÐ¸ ÑÑÐ¾Ð¼ Ð²ÑÐµ Ð¿ÑÐµÐ¸Ð¼ÑÑÐµÑÑÐ²Ð° Ð¸ ÑÐ¸ÑÐ¾ÐºÑÑ ÑÑÐ½ÐºÑÐ¸Ð¾Ð½Ð°Ð»ÑÐ½Ð¾ÑÑÑ ÑÑÑÐµÑÑÐ²ÑÑÑÐ¸Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐº. ÐÐ»Ñ ÑÑÐ¾Ð³Ð¾ Ð¿ÑÐ¾Ð²ÐµÐ´ÑÐ½ Ð¾Ð±Ð·Ð¾Ñ Ð¸Ð·Ð²ÐµÑÑÐ½ÑÑ ÑÐµÑÐµÐ½Ð¸Ð¹ Ð´Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ ÑÐ°Ñ-Ð±Ð¾ÑÐ¾Ð² Ð¸ Ð¿Ð¾Ð´ÑÐ¾Ð±Ð½Ð¾ ÑÐ°ÑÑÐ¼Ð¾ÑÑÐµÐ½Ñ Ð¾ÑÐ½Ð¾Ð²Ð½ÑÐµ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½ÑÑ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÐ¸ Aiogram-Dialog. Ð Ð¿ÑÐ¾ÑÐµÑÑÐµ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ¸ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ° ÑÐ¾Ð·Ð´Ð°Ð½ ÑÐ·ÑÐº Ð¿ÑÐµÐ´Ð¼ÐµÑÐ½Ð¾Ð¹ Ð¾Ð±Ð»Ð°ÑÑÐ¸. ÐÐ¾Ð´ÑÐ¾Ð±Ð½Ð¾ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð° Ð³ÑÐ°Ð¼Ð¼Ð°ÑÐ¸ÐºÐ° ÑÑÐ¾Ð³Ð¾ ÑÐ·ÑÐºÐ°, Ð° ÑÐ°ÐºÐ¶Ðµ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÐ° Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ°, ÐµÐ³Ð¾ Ð¾ÑÐ½Ð¾Ð²Ð½ÑÐµ Ð¿Ð°ÐºÐµÑÑ Ð¸ ÐºÐ»Ð°ÑÑÑ. Ð ÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ñ Ð´Ð²Ð° Ð±Ð¾ÑÐ° Ñ ÑÐµÐ»ÑÑ Ð´ÐµÐ¼Ð¾Ð½ÑÑÑÐ°ÑÐ¸Ð¸ ÑÐ°Ð±Ð¾ÑÐ¾ÑÐ¿Ð¾ÑÐ¾Ð±Ð½Ð¾ÑÑÐ¸ Ð¿ÑÐ¾ÐµÐºÑÐ°. ÐÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¾ Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ðµ, Ð²ÑÑÐ²Ð¸Ð²ÑÐµÐµ Ð¿ÑÐµÐ¸Ð¼ÑÑÐµÑÑÐ²Ð° Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ°, Ð° ÑÐ°ÐºÐ¶Ðµ ÐµÐ³Ð¾ ÑÑÑÐµÐºÑÐ¸Ð²Ð½Ð¾ÑÑÑ Ð² ÑÑÐµÑÐµ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¾Ð´Ð½Ð¾ÑÐ¸Ð¿Ð½ÑÑ Ð±Ð¾ÑÐ¾Ð². Ð ÐµÐ·ÑÐ»ÑÑÐ°ÑÑ ÑÐ°Ð±Ð¾ÑÑ Ð¼Ð¾Ð³ÑÑ Ð±ÑÑÑ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ñ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÑÐ¸ÐºÐ°Ð¼Ð¸, ÑÑÐ¾Ð±Ñ Ð±ÑÑÑÑÐ¾ Ð¸ ÑÑÑÐµÐºÑÐ¸Ð²Ð½Ð¾ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²ÑÐ²Ð°ÑÑ Ð¸ ÑÐµÐ´Ð°ÐºÑÐ¸ÑÐ¾Ð²Ð°ÑÑ Ð²ÑÑÐ¾ÐºÐ¾Ð½Ð°Ð³ÑÑÐ¶ÐµÐ½Ð½ÑÑ Telegram-Ð±Ð¾ÑÐ¾Ð².
description: This work is dedicated to the development of a tool for automatic generation of chatbots on the Telegram platform using a declarative description. The aim of the work is to create a tool that simplifies the process of developing chatbots, improves code readability, and reduces the time required to implement certain types of Telegram bots, while preserving all the advantages and wide functionality of existing libraries. For this purpose, a review of known solutions for creating chatbots was conducted and the main components of the Aiogram-Dialog library were examined in detail. During the development process of the tool, a domain-specific language was created. The grammar of this language is described in detail, as well as the architecture of the tool, its main packages, and classes. Two bots were implemented to demonstrate the projects functionality. A study was conducted to identify the advantages of the tool, as well as its efficiency in programming similar types of bots. The results of the work can be used by developers to quickly and efficiently implement and edit high-load Telegram bots.