Contents

Semantic Categorizer

semantic_categorizer · Nodes · AI

Classifies input text into semantic categories.

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.

Inputs

  • inputRequired

Outputs

  • output

Configuration

FieldTypeRequiredDescription
categoriesarray<record>Yes
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).