HumanTaskConfig class

Information required for human workers to complete a labeling task.

Constructors

HumanTaskConfig({required AnnotationConsolidationConfig annotationConsolidationConfig, required int numberOfHumanWorkersPerDataObject, required String preHumanTaskLambdaArn, required String taskDescription, required int taskTimeLimitInSeconds, required String taskTitle, required UiConfig uiConfig, required String workteamArn, int? maxConcurrentTaskCount, PublicWorkforceTaskPrice? publicWorkforceTaskPrice, int? taskAvailabilityLifetimeInSeconds, List<String>? taskKeywords})
HumanTaskConfig.fromJson(Map<String, dynamic> json)
factory

Properties

annotationConsolidationConfig AnnotationConsolidationConfig
Configures how labels are consolidated across human workers.
final
hashCode int
The hash code for this object.
no setterinherited
maxConcurrentTaskCount int?
Defines the maximum number of data objects that can be labeled by human workers at the same time. Also referred to as batch size. Each object may have more than one worker at one time. The default value is 1000 objects.
final
numberOfHumanWorkersPerDataObject int
The number of human workers that will label an object.
final
preHumanTaskLambdaArn String
The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a human worker. Use this function to provide input to a custom labeling job.
final
publicWorkforceTaskPrice PublicWorkforceTaskPrice?
The price that you pay for each task performed by an Amazon Mechanical Turk worker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskAvailabilityLifetimeInSeconds int?
The length of time that a task remains available for labeling by human workers. If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43200). The default value is 864000 seconds (10 days). For private and vendor workforces, the maximum is as listed.
final
taskDescription String
A description of the task for your human workers.
final
taskKeywords List<String>?
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
final
taskTimeLimitInSeconds int
The amount of time that a worker has to complete a task.
final
taskTitle String
A title for the task for your human workers.
final
uiConfig UiConfig
Information about the user interface that workers use to complete the labeling task.
final
workteamArn String
The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited