Agent classifier

Enterprise Single-tenant

The Agent classifier step assigns each record to a document class using an LLM, according to the schema defined in a linked agent classifier module.

Parameters

  • Schema configuration — Select the agent classifier module containing your classification schema JSON file.

    The JSON shape matches the extraction schema used by the Agent extract step: top-level keys are class names, and each class value has description and fields. You can reuse the same field objects as in your Agent extract module’s JSON schema, or list only the field names the classifier must consider.

    Every class must define fields as a non-empty array. Each entry must at least include name. Omitting fields or leaving it empty can cause classification to fail.

Sample classification schemas

The following schema defines field names only.

1{
2 "Invoice": {
3 "description": "An invoice document requesting payment for goods or services",
4 "fields": [
5 { "name": "Invoice Number" }
6 ]
7 }
8}

The following schema provides full field objects with the same structure as seen in the Agent extract step.

1{
2 "Invoice": {
3 "description": "An invoice document requesting payment for goods or services",
4 "fields": [
5 {
6 "name": "Invoice Number",
7 "data_type": "TEXT",
8 "description": "The unique invoice identifier or number"
9 }
10 ]
11 }
12}