Toloka documentation

App

toloka.client.app.App | Source code

App(
    self,
    *,
    id: Optional[str] = None,
    name: Optional[str] = None,
    image: Optional[str] = None,
    description: Optional[str] = None,
    constraints_description: Optional[str] = None,
    default_item_price: Optional[Decimal] = None,
    param_spec: Optional[Dict] = None,
    input_spec: Optional[Dict[str, FieldSpec]] = None,
    output_spec: Optional[Dict[str, FieldSpec]] = None,
    examples: Optional[Any] = None,
    input_format_info: Optional[Dict] = None
)

An App solution.

Each App solution targets specific type of tasks which can be solved using Toloka.

Parameters Description

Parameters Type Description
id Optional[str]

The ID of the App solution.

name Optional[str]

The solution name.

image Optional[str]

A link to the solution interface preview image.

description Optional[str]

The solution description.

constraints_description Optional[str]

The description of limitations.

default_item_price Optional[Decimal]

The default cost of one annotated item.

param_spec Optional[Dict]

The specification of parameters used to create a project.

input_spec Optional[Dict[str, FieldSpec]]

The schema of solution input data.

output_spec Optional[Dict[str, FieldSpec]]

The schema of solution output data.

examples Optional[Any]

Example description of tasks which can be solved with this solution.

input_format_info Optional[Dict]

Information about the input data format.