# Semantic Categorizer

Chooses the closest configured category for a piece of text.

Config:

Embeds with the workspace's embedding model, chosen in the Memory view. With none chosen, the node fails with `No embedding model configured`. A `model` field in an older saved config is ignored.

- `categories`: list of `{ "key": "...", "description": "..." }`

Input goes on canonical `input`.

- Single: `{ "text": "..." }`
- Bulk: `{ "texts": ["...", "..."] }`

Output:

- Single: `{ "category": "key", "score": 0.91 }`
- Bulk: `{ "results": [{ "text": "...", "category": "key", "score": 0.91 }] }`

Use for routing, labeling, and intent classification where exact string matching is too brittle.
