# Classification Model Overview

## Use Cases

Process a single document sent in a single file. The classifier looks at all pages of the document in order to identify its type.

Some common examples:

* You have multiple types of files in your workflow input, with different business rules
* You want to identify the region or language of documents

A file sent to the Classification Model may have any number of pages, [within limits](/integrations/technical-limitations.md#file-limits).

{% hint style="info" %}
If there is a high possibility of having multiple documents within the same file, use:

* [Split Model Overview](/split-models/split.md) ⇒ multiple documents in the same file
* [Crop Model Overview](/crop-models/crop.md) ⇒ multiple documents on the same page
  {% endhint %}

## Create a Classification Model

1. To create a Classification utility, click on **Models**, and then click on **Create your document AI model**.
2. Scroll to the **Document Utilities** section, click on **Classify.**
3. A pop-up will appear, allowing you to enter the classes you want. Most of the time, you'll use one possible document type per class.\
   \
   For example, f the files you are processing contain invoices, receipts, and driving licenses, set the classes as: `INVOICES`, `IDENTITY DOCUMENTS`, `CONTRACTS`.

{% 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="/files/EvjxXfTENfXZfbXxwMqT" alt="" width="375"><figcaption></figcaption></figure>

4. Once ready, click on **Create Utility** to create your custom Classify 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="/files/46NeM7yr2tM9tbYTVqok" alt=""><figcaption></figcaption></figure>

Here is a step-by-step tutorial that shows you how to properly create a Classify Utility :

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

## 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 Classification model is created and tested, integration documentation is provided in the "Documentation" page, or here: [Crop Quick Start](/crop-models/sdk-integration/crop-quick-start.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mindee.com/classification-models/classification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
