Specify the file category during upload to skip the automatic classification process and proceed directly to extraction.
When you already know the document category, you can specify the file category through the category parameter during file upload, so DocFlow will skip the automatic classification process and go directly to the extraction stage.
The specified category must be a file category that has been configured in the DocFlow workspace, otherwise processing will fail.
Manual classification can save processing time and is particularly suitable for batch processing scenarios with the same type of documents.
Use Cases
Batch processing of same type documents: Such as batch processing invoices, contracts, etc.
Known document types: Document category is determined before uploading files
Improve processing efficiency: Skip classification step and go directly to extraction stage
Specify Category During Upload
Add the category parameter to the file upload interface to achieve manual classification:
Category must be configured: The specified category must have been configured in the DocFlow workspace, otherwise an error will be returned
Category name matching: Category name must exactly match what was configured (case-sensitive)
Processing status: Files with manual classification will skip classification status directly in query results
Error handling: If the specified category does not exist, file processing will fail. It is recommended to first ensure the category is correctly configured through Configure File Categories
Query Processing Results
After files with manual classification are processed, you can query results through the file/fetch interface: