Skip to main content
A classify step answers one question about its inputs with a classifier model (Jev). It returns probabilities, so a later script can apply a threshold. A classify step has exactly one of three forms. The shipped support-triage example uses all three:
out is one name. Later steps read its fields, for example team.choice, team.probabilities.billing, or refund.probability.

Rules

  • Give the step a name, a question, and at least one input through in or each. The question and the option descriptions are literal text.
  • Inputs are JSON data. A file needs an earlier step that reads it.
  • A classify step cannot declare changes.
  • Add an option for unclear inputs, and decide in a script what to do with a low probability. In the example, route uses the team only when it is not unclear and its probability is at least 80%.
  • Counting, math, and date comparisons belong in a script, not in a question.

Where it runs

Classification goes through your Method account and uses the same model credit as hosted models. The run’s usage.cost_usd includes it. With method config model-key, classify steps on this computer call OpenRouter with your own key. Requests are private: no training and zero data retention. See Privacy. A request that the service briefly cannot answer gets three attempts.