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 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> .

List of components

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.

List of layout options

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 to false.

List of actions

View

Category of components for creating visual interface elements. Examples include text, list, audio player, or image.

List of views

Plugin

Category of components to enable advanced features. For example, plugin.hotkeys lets you set up shortcuts.

List of plugins

Data entry field

Category of components that create data entry fields, such as text fields or drop-down lists.

List of data entry fields

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.

List of conditions

Helper

Category of components for auxiliary operations, such as working with arrays.

List of helpers