2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
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 hace 2 meses
0
Is it possible to pass the response from textract.get_document_analysis() as the InputContent?
respondido hace 2 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace 4 meses
- OFICIAL DE AWSActualizada hace un año
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.