TextAnnotationHotkeysPluginV1

toloka.client.project.template_builder.plugins.TextAnnotationHotkeysPluginV1 | Source code

TextAnnotationHotkeysPluginV1(
self,
labels: Optional[Union[BaseComponent, List[str]]] = None,
remove: Optional[Union[BaseComponent, str]] = None,
*,
version: Optional[str] = '1.0.0'
)

Hotkeys for the TextAnnotationFieldV1 component.

For more information, see plugin.field.text-annotation.hotkeys.

Parameters description

ParametersTypeDescription
labelsOptional[Union[BaseComponent, List[str]]]

A list of hotkeys for choosing labels.

removeOptional[Union[BaseComponent, str]]

A hotkey for clearing the label of the annotated text.

Last updated: August 28, 2023

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