Terms and definitions
General terms
- Internal data
-
The data available only from within the task. This data is not saved to the results. Use this data to calculate or store intermediate values. To access the internal data, use the
data.internal
component.See the Read and write instructions to learn about working with data.
- Input and output data
-
Input data is the source data you want to display or use. For example, links to images that will be shown to performers. Use the
data.input
component to access the input data.Output is the data you receive after the task is completed. For example, the performer's answers to your questions. Use the
data.output
component to access the output data.See the Read and write instructions to learn about working with data.
- Task
-
Task to be performed in Yandex.Toloka. In Template Builder, you can create an interface for such tasks.
- Component
-
The task interface consists of ready-made components representing JSON objects with a specified structure. Components are categorized depending on their purpose, such as data entry fields, conditions, or actions. The name of the component is specified in the
type
property in the format<category>.<name>
. - Configuration
-
Description of your interface in the JSON format. This is also the name of the panel in the editor where you write this code.
Categories of components
- Element layout
-
Category of components used to arrange the interface elements, such as in columns or side-by-side.
- Action
-
A category of components that perform actions, such as open a link, display a message, or play a video. Some components work with data. For example, they can change the value from
true
tofalse
. - View
-
Category of components for creating visual interface elements. Examples include text, list, audio player, or image.
- Plugin
-
Category of components to enable advanced features. For example,
plugin.hotkeys
lets you set up shortcuts. - Data entry field
-
Category of components that create data entry fields, such as text fields or drop-down lists.
- Condition
-
Component category to check whether the expression matches the specified condition. You can use them to check that the text is entered in a field.
- Helper
-
Category of components for auxiliary operations, such as working with arrays.