HumanAnnotationConfig

Stay organized with collections Save and categorize content based on your preferences.

Configuration for how human labeling task should be done.

JSON representation
{
  "instruction": string,
  "annotatedDatasetDisplayName": string,
  "annotatedDatasetDescription": string,
  "labelGroup": string,
  "languageCode": string,
  "replicaCount": number,
  "questionDuration": string,
  "contributorEmails": [
    string
  ],
  "userEmailAddress": string
}
Fields
instruction

string

Required. Instruction resource name.

annotatedDatasetDisplayName

string

Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .

annotatedDatasetDescription

string

Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.

labelGroup

string

Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression [a-zA-Z\\d_-]{0,128}.

languageCode

string

Optional. The Language of this question, as a BCP-47. Default value is en-US. Only need to set this when task is language related. For example, French text classification.

replicaCount

number

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.

questionDuration

string (Duration format)

Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.

A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

contributorEmails[]

string

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/

userEmailAddress

string

Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.