Nodes/ComfyUI-llama-multimodal/[llama.cpp] Extract Answer
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].

By craftingmod·Created 2 months ago·Updated 6 days ago· 3
[llama.cpp] Extract Answer
  • answer
  • selected
  • value
  • noul
  • probabilities
  • result_json
Categoryllama_cpp/decision

Inputs (1)

NameTypeDefaultDescription
answerOLLAMA_IMAGE_LIST_LLAMA_CPP_ANSWER—

Outputs (5)

NameTypeDescription
selectedSTRINGSelected choice option; empty for score and noul.
valueFLOATChoice: selected option probability. Score: expected 0-based level index. Noul: probability of true.
noulBOOLEANFor noul answers, true when P(true) is at least 0.5; None for choice and score answers.
probabilitiesFLOATInput-answer order for choice/score; [false, true] for noul.
result_jsonSTRINGComplete raw per-question System One answer JSON.