Skip to main content
The split.run() method divides documents into sections based on descriptions you provide. You define what sections to look for, and Split identifies which pages belong to each section.

Basic Usage


Method Signatures

Synchronous Split

Asynchronous Split


Split Description

The split_description parameter is required. Each entry defines a section to find:

With Partition Key

Use partition_key when a section type repeats multiple times and you want to group by a specific identifier:

Configuration Examples

Split Rules

The split_rules parameter is a natural language prompt that controls how pages are classified:

Table Settings


Response Structure


Next Steps