classify
Batch-classify up to 100 items against a shared set of categories to route support tickets, label log lines, or triage inbox items.
Instructions
Batch-classify up to 100 items against ONE shared set of categories using Jev.
Runs the official choice question type once per item and aggregates the
results — routing support tickets, labeling log lines, triaging inbox items
against your own label set. Much cheaper and faster than an LLM for
mechanical labeling.
Args: items: 1-100 non-empty strings to classify. options: Mapping of short unique id -> one-line category description. 2-100 options. question: Per-item question; the item itself is appended automatically. context: Optional background facts shared by all items.
Returns: JSON string: {results: [{item, choice, confidence, probabilities}], summary (counts per choice, sorted desc), model, total_latency_ms, usage: {input_tokens, output_tokens, calls, cached_calls}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| context | No | ||
| options | Yes | ||
| question | No | Which category does this item belong to? |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |