For the complete documentation index, see llms.txt. This page is also available as Markdown.

Split Result

Reference documentation on processing a Split result using the Mindee SDKs.

You'll need to have a response object as described in the Response Processing section.

Access Split Ranges

A SplitRange describes one logical sub-document identified within the source file.

SplitRange Attributes

Each SplitRange instance will have these properties.

Document Type

The document category assigned to the sub-document. It is always filled.

It is returned as a string and is identical to the value entered on the Mindee platform — case, spaces, and punctuation included.

Page Range

A two-element array of 0-based page indexes, where the first integer indicates the start page and the second integer indicates the end page. It is always filled.

A page range value of (0,2) would mean from the first page to the third page.

Extraction Response

Optional extraction response associated with the SplitRange. This is only filled if extraction chaining is activated for the model.

Chained Extraction results will be in an ExtractionResponse object. This object is identical to the response of an Extraction Model.

Refer to the Extraction Result section for details on processing the Extraction.

Iterate Over Split Ranges

You'll usually want to iterate over all split ranges, since the number of ranges is dependent on the document.

Sample Code

Extract Split Ranges From the Input File

The SDKs provide support for extracting each split range as separate PDF files.

Only the methods documented here are production-ready.

This is because we are still improving the SDKs, hang tight!

Last updated

Was this helpful?