If business requirements only need classification results, you can add the
target_process=classify
parameter to the upload interface, and the workflow will terminate after completing classification, skipping the extraction process.
Upload Files for Classification Only
Query Classification Results
Use thefile/fetch
interface to query classification results:
Recognition_status Status Description for Classification Only
When usingtarget_process=classify
for classification only, the recognition_status
field will have the following status changes:
Status Value Description
0
- Pending recognition: File just uploaded, waiting for processing3
- Classifying: Classification processing in progress10
- Classification complete: Final state for classification-only workflow, indicating classification is complete and extraction will not be performed2
- Classification failed: Error occurred during classification process
Difference from Complete Workflow
Complete workflow (default) status changes:0
→3
→4
→1
(Pending recognition → Classifying → Extracting → Recognition successful)
0
→3
→10
(Pending recognition → Classifying → Classification complete)