Skip to content

Classify (classify)

Assigns a category to each document or page; each category has its own outgoing handle. See Classify and Split.

Group: understand · Inputs: ParsedDoc · Outputs: ParsedDoc

Field Type Required Default Description
categories array of Category yes [{"id": "category_1", "name": "Category 1"}]
instructions string or null
learning_snapshot_id string or null ExampleSnapshot (T42) whose learned examples enter the prompt as data.
max_labels integer or null
multi_label boolean false
threshold number or null
unclassified_branch boolean false Whether documents below the threshold leave by unclassified.