Skip to main content
A decision is a closed question your workflow asks Branch Pilot. You define it in the editor: what the workflow sends (the context), the question asked to the engine, and the options it can answer with.

Context

Describe what your workflow will send, and optionally declare fields: If you declare no field, any payload is accepted as is: an object, a string, or an array.

Route

Picks one option among 2 to 255. Each option has a key, returned to your workflow, and a description the engine evaluates.
Response: choice, probabilities (one per option, summing to 1) and confidence.
Add an other or none option when the list may not cover every input. It gives the engine somewhere to put ambiguous cases instead of forcing a wrong branch.

Score

Returns a 0–100 score over 2 to 10 ordered levels you describe, from lowest to highest.
The engine returns a probability per level. raw_score is the weighted position on the level scale (for example 2.4), score is that position remapped to 0–100, and legend maps level indexes to their labels.

Classify

Returns every label whose probability reaches its threshold — several at once, or none. Each label has a key, a description and an optional threshold (default 0.5, adjustable per decision).
Response: labels (the retained keys) and probabilities (one per label, independent of each other).

Behavior settings

These apply to every version of the decision and take effect immediately:
  • Confidence threshold (default 0.70) and uncertainty policy — see confidence.
  • Engine: Jev with automatic LLM fallback (default), Jev only, or LLM only.
  • PII detection in free text: off, standard or strict.
  • Engine timeout (default 3 000 ms).