Behavior
- Each question is answered independently, in one call.
- Question types:
likelihood(a probability),choice(one option) andscore(a level on a scale). - The result maps each question name to its answer, such as
{{E1.urgent.probability}}. - Needs a decision model role,
deciderby default.
When to use it
- Put the data in
stateand keep the questions short.
Input
any
required
The data to judge: text, an object, or a list, usually a template like {{E2.ticket}} or {{item}}.
object
required
Question name → question. Likelihood: {“type”: “likelihood”, “instructions”: “Is it urgent?”}, optionally with “criteria”: {“true”: …, “false”: …}. Choice: {“type”: “choice”, “instructions”: “Which team?”, “criteria”: {“billing”: “Payments”, “technical”: “Bugs”}}. Score: {“type”: “score”, “instructions”: “How frustrated?”, “criteria”: [“Calm”, “Frustrated”, “Angry”]} with 2 to 10 levels.
enum<string>
required
Available options:
likelihood, choice, scorestring
required
any