ComfyUI Node
[llama.cpp] Extract Answer
Value is the selected choice probability, the expected 0-based score level, or P(true) for noul. Probabilities follow input-answer order; noul uses [false, true].
[llama.cpp] Extract Answer
- answer
- selected
- value
- noul
- probabilities
- result_json
Categoryllama_cpp/decision
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| answer | OLLAMA_IMAGE_LIST_LLAMA_CPP_ANSWER | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| selected | STRING | Selected choice option; empty for score and noul. |
| value | FLOAT | Choice: selected option probability. Score: expected 0-based level index. Noul: probability of true. |
| noul | BOOLEAN | For noul answers, true when P(true) is at least 0.5; None for choice and score answers. |
| probabilities | FLOAT | Input-answer order for choice/score; [false, true] for noul. |
| result_json | STRING | Complete raw per-question System One answer JSON. |