KnownSolution

toloka.client.task.BaseTask.KnownSolution | Source code

KnownSolution(
self,
*,
output_values: Optional[Dict[str, Any]] = None,
correctness_weight: Optional[float] = None
)

A correct response for a control or training task.

Responses have a correctness weight. For example, if correctness_weight is 0.5, then half of the error is counted to the Toloker.

Parameters description

ParametersTypeDescription
output_valuesOptional[Dict[str, Any]]

Correct values of output fields.

correctness_weightOptional[float]

The correctness weight of the response.

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