Class HumanAnnotationConfig

Configuration for how human labeling task should be done.

Attributes
NameDescription
strinstruction
Required. Instruction resource name.
strannotated_dataset_display_name
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
strannotated_dataset_description
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
strlabel_group
Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression ``[a-zA-Z\\d_-]{0,128}``.
strlanguage_code
Optional. The Language of this question, as a `BCP-47
intreplica_count
Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
google.protobuf.duration_pb2.Durationquestion_duration
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
Sequence[str]contributor_emails
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
struser_email_address
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.

Inheritance

builtins.object > proto.message.Message > HumanAnnotationConfig