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.

Accessing 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 split. This is only filled if extraction chaining is activated for the model.

Iterate Over Split Ranges

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

Chained Extraction results will be 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.

Last updated

Was this helpful?