2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta 2 mesi fa
0
Is it possible to pass the response from textract.get_document_analysis() as the InputContent?
con risposta 2 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 4 mesi fa
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.