Class OperatorMetadata (1.10.5)

OperatorMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

General information useful for labels coming from contributors.

Attributes

Name Description
score float
Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3).
total_votes int
The total number of contributors that answer this question.
label_votes int
The total number of contributors that choose this label.
comments MutableSequence[str]
Comments from contributors.