# Split Model

## Use Cases

Process a bundle of different documents sent in the same file. The result has both the page range and the class for each document identified, allowing for complex workflows.

Some common examples, where a single PDF contains:

* Several different invoices
* A mix of invoices, receipts, and bank statements
* The person's driver license, vehicle registration, insurance
* Front and back of an ID card, each on a separate page
* The same type of document, but from different regions or languages

A file sent to the Split Model may have any number of pages, [within limits](https://docs.mindee.com/integrations/technical-limitations#file-limits).

## Create a Split Model

1. To create a Split utility, you need to click on **Models**, and then on **Create your document AI model**.
2. Scroll to the **Document Utilities** section, click on **Split.**
3. A pop-up will appear, allowing you to enter the classes you want. Each class corresponds to a document type possibly present in the documents you want to process.\
   \
   For example, if the files you are processing contain invoices, receipts, and driving licenses, set the classes as: `INVOICE`, `RECEIPT`, `DRIVING LICENSE`.

{% hint style="info" icon="lightbulb" %}
Add the class `Other` if you need the model to identify documents that are not one of the explicitly defined classes.
{% endhint %}

<figure><img src="https://4029869281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu5bStlX8nv4b9z4GXB2S%2Fuploads%2FrrYJxgnJ7grVx0OXoX7y%2Fimage.png?alt=media&#x26;token=b55ded5c-0af8-43d1-957b-3d9c6116e3f1" alt="" width="375"><figcaption></figcaption></figure>

4. Once ready, click on **Create Utility** to create your custom Split Utility.
5. You can now use the **Live Test** tab to process documents, and the **Utility Configuration** to update your classes.<br>

Your utility is now available in your **Models** tab:

<figure><img src="https://4029869281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu5bStlX8nv4b9z4GXB2S%2Fuploads%2F9efndiptFDTz3yHHeEud%2Fimage.png?alt=media&#x26;token=5f692e79-893e-4716-9064-3eb3ff8ff46f" alt=""><figcaption></figcaption></figure>

Here is a step-by-step tutorial that shows you how to properly create a Split Utility :<br>

{% @supademo/embed url="<https://app.supademo.com/demo/cmls4fbup1r1611891nvrrlyw>" demoId="cmls4fbup1r1611891nvrrlyw" %}

## Integration

{% hint style="info" %}
Class names will be returned exactly as defined on the platform in the return, spaces and capitalization included.

If the class names are changed on the platform, the change in the API return will be immediate for all new files sent.
{% endhint %}

Once your Split model is created and tested, integration documentation is provided in the "Documentation" page, or here: [integration](https://docs.mindee.com/utility-models/split/integration "mention").
