Skip to content

DocsQuestions and answers

2 min read · updated

Choose a question type

Choose among named options, ask a yes or no question, or rate text on a scale. Match the question to the value your code needs.

Start with the value your application needs to make its next decision. The same text can answer several named questions in one request.

Figure · Request flow

The text is read once; every question is answered from that one read.

Complete diagram shown.

One request, three questions, 79.1 ms on the server. Each bar is the likeliest option's probability.

Recorded decision: Gemma 4 31B, decisio 0.17.0, RTX PRO 6000 at 600 W, 2026-10-19, on the plain layout; record 1 of 60 of decisio-examples' support-routing run, sent again on that release; the probabilities are rounded to two places.

You needQuestion typeDefineRead from the answer
A category or destinationchoiceNamed options in criteriachoice and probabilities
Whether a statement is truenoulThe yes or no question in instructionsnoul, the probability of yes
A rating on an ordered scalescoreLevel descriptions in criteria, lowest firstscore and the level probabilities

Choose an option when your code already knows the possible answers. For a ticket, those might be billing, access and bug; your code maps the selected key to the appropriate queue. Descriptions help distinguish similar options.

Ask yes or no with noul for a question such as whether a ticket asks for a refund. The result is a probability of yes, rather than a Boolean your application must always act on. Your code decides when to act or ask for review.

Rate on a scale when the levels have an order, such as no impact, one person blocked and a whole team blocked. The score is the probability-weighted position on your scale, so it can fall between levels. Read the level probabilities too when the distinction changes your action.

Ask which team, whether it is urgent and what impact it has as separate questions about the same text. Your code can combine those typed answers into a routing policy that is easy to inspect and change.

  • noul is the wire name for a yes or no question.
  • A choice is for unordered alternatives; a score is for levels from low to high.
  • For automated answers at an error target, teach and certify your task.