Use APIs in Amazon Augmented AI
You can create a human review workflow or a worker task template programmatically. The APIs you use depend on whether you are creating a Amazon Rekognition, Amazon Textract, or custom task type. This topic provides links to API reference documentation for each task type and programming task.
The following APIs can be used with Augmented AI:
- Amazon Augmented AI
-
Use the Augmented AI API to start, stop, and delete human review loops. You can also list all human review loops and return information about human review loops in your account.
Learn more about human review loop APIs in the Amazon Augmented AI Runtime API Reference.
- Amazon Rekognition
Use the HumanLoopConfig parameter of the
DetectModerationLabels
API to initiate a human review workflow using Amazon Rekognition.- Amazon SageMaker AI
-
Use the Amazon SageMaker API to create a
FlowDefinition
, also known as a human review workflow. You can also create aHumanTaskUi
or worker task template.For more information, see the
CreateFlowDefinition
or theCreateHumanTaskUi
API documentation. - Amazon Textract
Use the HumanLoopConfig parameter of the AnalyzeDocument API to initiate a human review workflow using Amazon Textract.
Programmatic Tutorials
The following tutorials provide example code and step-by-step instructions for creating human review workflows and worker task templates programmatically.
-
Using Amazon Augmented AI with Amazon Rekognition in the Amazon Rekognition Developer Guide
-
Using Amazon Augmented AI with Amazon Textract AnalyzeDocument in the Amazon Textract Developer Guide