Skip to main content

Feature Overview

For complex documents containing multiple files of multiple categories, the file splitting function supports intelligent recognition of document content to achieve automatic splitting and classification of documents.

Use Cases

1. Medical Insurance Claims Scenario

A multi-page file contains:
  • Pages 1-2: Insurance policy information
  • Pages 3-5: Medical invoices
  • Pages 6-10: Hospitalization records
Through the file splitting function, these three different types of documents can be split separately, facilitating subsequent classification and extraction processing.

2. Logistics Import/Export Scenario

One file contains:
  • Page 1: Export customs declaration
  • Page 2: Commercial invoice
  • Page 3: Packing List
  • Page 4: Sales contract
The file splitting function can intelligently split by document type.

API Parameter Configuration

Enable File Splitting Function

Set split_flag=true in the upload interface to enable the file splitting function:

Parameter Description

Example Code

Return Result Description

File Splitting Result Structure

After enabling the file splitting function, the result returned by the file/fetch interface will include the child_files field, which describes the information of sub-documents after splitting:

Key Field Description