laya_classify
Classify a batch of text items against a fixed catalog of up to 20 labels, returning per-item labels with confidence scores.
Instructions
Classify many items against one shared catalog in a single forward pass (catalog <= 20 labels). Batched cost is ~2-5 ms per item, cheaper than one LLM reasoning turn for any dedupe / triage / labelling sweep. Returns the label per item with confidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| catalog | Yes | ||
| timeout_ms | No | ||
| instructions | No | Which category does each item belong to? |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |