Mindee · Arazzo Workflow
Mindee Classify Then Extract
Version 1.0.0
Classify an unknown document, then run extraction on the same file once the type is known, reading the parsed fields.
View Spec
View on GitHub
Document ParsingOCRIDPAIMachine LearningInvoicesReceiptsIDsComputer VisionArazzoWorkflows
Provider
Workflows
classify-then-extract
Classify a document, then extract structured fields from it.
Classifies a document to discover its type, then enqueues the same file for extraction, polling each job to completion and reading the predicted type and the extracted fields.
1
enqueueClassification
Enqueue_Classification_Product_Inference_v2_products_classification_enqueue_post
Send the document to the asynchronous classification queue to discover its type.
2
pollClassification
Get_Job_Status_v2_jobs__job_id__get
Poll the shared jobs endpoint until the classification job reports Processed or Failed.
3
getClassification
Get_classification_Product_Result_v2_products_classification_results__inference_id__get
Read the predicted document type from the completed classification inference.
4
enqueueExtraction
Enqueue_Extraction_Product_Inference_v2_products_extraction_enqueue_post
Now that the document type is known, send the same file to the extraction queue against the chosen extraction model.
5
pollExtraction
Get_Job_Status_v2_jobs__job_id__get
Poll the shared jobs endpoint until the extraction job reports Processed or Failed.
6
getExtraction
Get_Extraction_Product_Result_v2_products_extraction_results__inference_id__get
Retrieve the completed extraction inference and read the structured fields parsed from the document.
Source API Descriptions
openapi
openapi