ComfyUI Node
Typed Decision
Answers one typed question about the images and state with calibrated probabilities.
Typed Decision
- model
- images
- value
- label
- index
- pass
- abstained
- result
◄mode▾►
◄state►
◄threshold0.50►
◄debiasfalse►
◄calibrationtrue►
Categorytyped decision
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | noul: true or false. choice: pick one option. score: rate on ordered levels. Write in English. | |
| model | TYPED_DECISION_MODEL | — | |
| state | STRING | With JSON, instructions can name its fields in `backticks`, e.g. `listing.color`. | |
| threshold | FLOAT | 0.500–10 | pass is true when value >= threshold and the model did not abstain. |
| debias | BOOLEAN | false | Average over up to 4 option orders to cancel position bias. Slower, and changes little in practice. |
| calibration | BOOLEAN | true | Apply the model's temperature calibration. Changes probabilities, never the answer. |
| imagesopt | COMFY_AUTOGROW_V3 | Images looked at together, in slot order. imajev: first = reference, second = the one to judge. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| value | FLOAT | noul: probability the claim is true (0-1). choice: probability of the chosen option (0-1). score: expected level, 0 = first line (not a probability). |
| label | STRING | The answer: yes / no, the chosen option, or the most likely level. Not affected by threshold. |
| index | INT | noul: yes = 1, no = 0. choice / score: line number of the answer, from 0. |
| pass | BOOLEAN | True when value >= threshold and the model did not abstain. Use it to branch. |
| abstained | BOOLEAN | True when the images and state are not enough to answer, e.g. to send the case to a person. |
| result | STRING | Full answer as JSON, in the official Jev shape: every probability, unknown probability, confidence. |