CompareLayoutItem

toloka.client.project.template_builder.layouts.CompareLayoutItem | Source code

CompareLayoutItem(
self,
content: Optional[BaseComponent] = None,
controls: Optional[BaseComponent] = None
)

The compared element.

Parameters Description

ParametersTypeDescription
contentOptional[BaseComponent]

The content of the element that's being compared. Add images, audio recordings, videos, links, or other types of data.

controlsOptional[BaseComponent]

Configure the input fields to make the Toloker select an item.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming