-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4aeb365
commit 107be3a
Showing
38 changed files
with
2,520 additions
and
651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Create class instance agent | ||
|
||
This agent creates an instance of the entity class. | ||
|
||
**Action class:** | ||
|
||
`action_create_class_instance` | ||
|
||
**Parameters:** | ||
|
||
1. `messageAddr` -- an element of `concept_message`. | ||
2. `formLinkAddr` -- link with information from popup component. | ||
|
||
### Examples | ||
|
||
**Example of an input structure:** | ||
|
||
<img src="../images/createClassInstanceAgentInput.png"></img> | ||
|
||
**Examples of an output structure:** | ||
|
||
Output about the successful creation of structures. | ||
|
||
<img src="../images/createClassInstanceAgentOutput1.png"></img> | ||
|
||
Error output about invalid or existing parameters. | ||
|
||
<img src="../images/createClassInstanceAgentOutput2.png"></img> | ||
|
||
Output to notify when the user has completed an action. | ||
|
||
<img src="../images/createClassInstanceAgentOutput3.png"></img> | ||
|
||
The result of the agent's work depends on the data received from the component.If the received data is correct, the structures will be created. Otherwise, a corresponding error message will be displayed. | ||
|
||
### Agent implementation language | ||
C++ | ||
|
||
### Result | ||
|
||
Possible result codes: | ||
|
||
* `SC_RESULT_OK` - the constructs (message class, phrase templates and logical response rule) were successfully created or formLinkAddr contains incorrect data. | ||
* `SC_RESULT_ERROR`- internal error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Агент создания экземпляра класса сущностей | ||
|
||
Данный агент создает экземпляр класса сущностей. | ||
|
||
**Класс действий:** | ||
|
||
`action_create_class_instance` | ||
|
||
**Параметры:** | ||
|
||
1. `messageAddr` -- элемент класса `concept_message`. | ||
2. `formLinkAddr` -- ссылка на информацию из всплывающего компонента. | ||
|
||
### Пример | ||
|
||
**Пример входной структуры:** | ||
|
||
<img src="../images/createClassInstanceAgentInput.png"></img> | ||
|
||
**Примеры выходной конструкции:** | ||
|
||
Вывод об успешном создании структур. | ||
|
||
<img src="../images/createClassInstanceAgentOutput1.png"></img> | ||
|
||
Вывод ошибки о недопустимых или существующих параметрах. | ||
|
||
<img src="../images/createClassInstanceAgentOutput2.png"></img> | ||
|
||
Вывод для уведомления о завершении действия пользователем. | ||
|
||
<img src="../images/createClassInstanceAgentOutput3.png"></img> | ||
|
||
Результат работы агента зависит от данных, полученных от компонента. Если полученные данные верны, структуры будут созданы. В противном случае отобразится соответствующее сообщение об ошибке. | ||
|
||
### Язык реализации агента | ||
C++ | ||
|
||
### Результат | ||
|
||
Возможные результаты: | ||
|
||
* `SC_RESULT_OK` - конструкции (класс сообщения, шаблоны фраз и правило логического ответа) были успешно созданы или formLinkAddr содержит неверные данные. | ||
* `SC_RESULT_ERROR`- внутренняя ошибка. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
User interface component (pop-up window) for creating a class instance | ||
|
||
This component is used to create an instance of the entity class. | ||
|
||
**Phrase for calling the component** | ||
|
||
`Создай экземпляр класса` | ||
|
||
**Action Class:** | ||
|
||
`action_create_class_instance` | ||
|
||
### Description | ||
|
||
<img src="../images/messageClassInstancePopup1.png"></img> | ||
|
||
This state of the component is a form, by filling in which data about the system class identifier, about the class identifier in Russian and about the name of the intent in the wit.ai for further processing by the appropriate agent. To move to the next state of the component and save the form data, click the "Next" button. | ||
|
||
<img src="../images/messageClassInstancePopup2.png"></img> | ||
|
||
This state of the component is a form, by filling in which data is stored about the system identifier of the phrase template, about the identifier of the phrase template in Russian and about phrases for further processing by the appropriate agent. In this form, the chip component (compact elements representing input data) is used to add an arbitrary number of phrases. To save the form data and create structures, click the "Save" button. | ||
|
||
### Component implementation language | ||
|
||
TypeScript | ||
|
||
### Result | ||
|
||
Possible results: | ||
|
||
* `Экземпляр класса создан` - constructs have been successfully created. | ||
* `Вы ввели существующий в базе знаний системный идентификатор, либо не ввели основной идентификатор или определение.`- the data entered by the user already exists in the knowledge base or user has not entered all the data. | ||
* `Дейстиве прервано пользователем.` - the user has closed the component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Компонент пользовательского интерфейса (всплывающее окно) для создания экземпляра класса сущностей | ||
|
||
Данный компонент используется для создания экземпляра класса сущностей. | ||
|
||
**Фраза для вызова компонента** | ||
|
||
`Создай экземпляр класса` | ||
|
||
**Класс действий:** | ||
|
||
`action_create_class_instance` | ||
|
||
### Описание | ||
|
||
<img src="../images/messageClassInstancePopup1.png"></img> | ||
|
||
Данное состояние компонента представляет собой форму, посредством заполнения которой, сохраняются данные о системном идентификаторе экземпляра, об идентификаторе экземпляра на русском языке, об определении экземпляра и о классе, которому экземпляр принадлежит для дальнейшей обработки соответствующим агентом. Для добавления дополнительных отношений между другими сущностями необходимо нажать кнопку "Добавить отношения". Для сохранению данных формы и создания структур необходимо нажать кнопку "Сохранить". | ||
|
||
<img src="../images/messageClassInstancePopup2.png"></img> | ||
|
||
Данное состояние компонента представляет собой форму, посредством заполнения которой, сохраняются данные о сущности, с которой пользователь связывает создаваемый экземпляр и об отношении, которым понятия будут связаны. Для сохранения отношения необходимо нажать кнопку "Добавить". Для сохранения всех данных и создания структур необходимо нажать кнопку "Сохранить". | ||
|
||
### Язык реализации компонента | ||
|
||
TypeScript | ||
|
||
### Результат | ||
|
||
Возможные результаты: | ||
|
||
* `Экземпляр класса создан` - конструкции были успешно созданы. | ||
* `Вы ввели существующий в базе знаний системный идентификатор, либо не ввели основной идентификатор или определение.`- данные введённые пользователем уже существуют в базе знаний или пользователь не ввёл все данные. | ||
* `Дейстиве прервано пользователем.` - пользователь закрыл компонент. |
Oops, something went wrong.