AWS Region availability may differ when you use Augmented AI with other AWS services, such as Amazon Textract. Create Augmented AI resources in the same AWS Region that you use to interact with those AWS services. For AWS Region availability for all services, see the Region Table.
Create a Human Review Workflow
Human loop activation conditions, which initiate the human loop—for example, confidence thresholds—aren't available for Amazon A2I custom task types. When using the console to create a flow definition for a custom task type, you can't specify activation conditions. When using the Amazon A2I API to create a flow definition for a custom task type, you can't set the HumanLoopActivationConditions attribute of the HumanLoopActivationConditionsConfig parameter. To control when human reviews are initiated, specify conditions under which StartHumanLoop is called in your custom application. In this case, every StartHumanLoop invocation results in a human review. For more information, see Use Amazon Augmented AI with Custom Task Types.
Create and Start a Human Loop
Amazon A2I requires all S3 buckets that contain human loop input image data to have a CORS policy attached. To learn more about this change, see CORS Permission Requirement.
When you create a human loop using a built-in task type, you can use DataAttributes to specify a set of ContentClassifiers related to the input provided to the StartHumanLoop operation. Use content classifiers to declare that your content is free of personally identifiable information or adult content.
To use Amazon Mechanical Turk, ensure your data is free of personally identifiable information, including protected health information under HIPAA. Include the FreeOfPersonallyIdentifiableInformation content classifier. If you do not use this content classifier, SageMaker does not send your task to Mechanical Turk. If your data is free of adult content, also include the 'FreeOfAdultContent' classifier. If you do not use these content classifiers, SageMaker may restrict the Mechanical Turk workers that can view your task.
Permissions and Security
If you do not add a CORS configuration to the S3 buckets that contains your input data, human review tasks for those input data objects fail.
You can also attach the AmazonAugmentedAIFullAccess policy to an IAM role that is used to create and start a human loop.
You can also attach the AmazonAugmentedAIIntegratedAPIAccess policy to an IAM role that is used to create and start a human loop.