2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há 2 meses
0
Is it possible to pass the response from textract.get_document_analysis() as the InputContent?
respondido há 2 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 4 meses
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.