> ## Documentation Index
> Fetch the complete documentation index at: https://docs.landing.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Split Model Versions

export const splitJSON = 'split rules';

export const split = 'ADE Split';

export const adePythonLibrary = 'ade-python';

export const dpt2mini = 'DPT-2 mini';

export const dpt2 = 'DPT-2';

export const dpt1 = 'DPT-1';

export const dpt = 'Document Pre-Trained Transformer';

export const companyName = 'LandingAI';

export const extract = 'ADE Extract';

export const parse = 'ADE Parse';

export const ade = 'Agentic Document Extraction';

A split model powers the classification and splitting capabilities of the [{split}](https://docs.landing.ai/api-reference/tools/ade-split) API. The model analyzes parsed Markdown content and classifies pages into the Split Types you define, then separates the document into sub-documents.

You can specify a model when calling the [{split}](https://docs.landing.ai/api-reference/tools/ade-split) API directly or when using the [client libraries](#set-the-model-with-the-client-libraries). If you don't specify a model, the API uses the latest split model (currently `split-20251105`).

## Model Versions

The following table lists the available `model` values for the {split} API:

| Model Values     | Description                                                |
| ---------------- | ---------------------------------------------------------- |
| `split-20251105` | Use the split model snapshot released on November 5, 2025. |
| `split-latest`   | Use the latest split model snapshot.                       |

### Why Model Versioning Matters

When integrating the API, you have two options for specifying the model:

1. **Use `split-latest`** to always get the newest version. This automatically gives you improvements and updates, but results may change when new model versions are released.
2. **Use a specific version** (like `split-20251105`) to pin to an exact model version. This ensures consistent results over time, but you won't receive improvements.

## Set the Model in the API

When calling the [{split}](https://docs.landing.ai/api-reference/tools/ade-split) endpoint, you can set the model using the `model` parameter.

If you omit the `model` parameter, the API uses the latest model.

This example shows how to specify a model:

```shell theme={null}
curl -X POST 'https://api.va.landing.ai/v1/ade/split' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'markdown=@markdown.md' \
  -F 'split_class=[{"name": "section_type", "description": "Type of document section (e.g., header, paragraph, table)"}]' \
  -F 'model=split-latest'
```

## Set the Model with the Client Libraries

When using the Python or TypeScript library, you can set the model using the `model` parameter in the `split()` method.

If you omit the `model` parameter, the library will use the latest split model.

<CodeGroup>
  ```python {13} Python theme={null}
  import json
  from pathlib import Path
  from landingai_ade import LandingAIADE

  client = LandingAIADE()

  response = client.split(
      markdown=Path("/path/to/parsed_output.md"),
      split_class=json.dumps([
          {"name": "Invoice", "description": "Payment request document"},
          {"name": "Receipt", "description": "Payment confirmation document"}
      ]),
      model="split-latest"
  )
  ```

  ```typescript {12} TypeScript theme={null}
  import LandingAIADE from "landingai-ade";
  import fs from "fs";

  const client = new LandingAIADE();

  const response = await client.split({
    markdown: fs.createReadStream("/path/to/parsed_output.md"),
    split_class: [
      { name: "Invoice", description: "Payment request document" },
      { name: "Receipt", description: "Payment confirmation document" }
    ],
    model: "split-latest"
  });
  ```
</CodeGroup>

## The Playground Uses the Latest Model Version

The Playground uses the latest model version.
