2 Answers
- Newest
- Most votes
- Most comments
1
You can choose "Custom Task Type" instead of built-in integration with Textract. https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-task-types-custom.html
With Custom Task Type you can use start_human_loop
API to trigger the human review loop.
https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-start-human-loop.html
For custom task type, please see also this sample notebook : https://github.com/aws-samples/amazon-a2i-sample-jupyter-notebooks/blob/master/A2I-Video-Transcription-with-Amazon-Transcribe.ipynb
answered a year ago
0
Is it possible to pass the response from textract.get_document_analysis() as the InputContent?
answered a year ago
Relevant content
- asked 6 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
If I understand this correctly, I can basically keep what I have developed but make two small changes.
Right. You need to feed a JSON to "InputContent" field when calling start_human_loop(). It doesn't necessarily have to be from S3, but you need to construct a JSON for this field.