ComfyUI Node

LLM Choose

Turns the cases you name into one strict tool each, forces the model to call one, and reports its index for Lazy Select. The provider is a NAME looked up in flow_policy.json, so a workflow never carries an endpoint or a key.

By matlowai·Created 3 months ago·Updated about 24 hours ago· 241
LLM Choose
  • images
  • selector
  • label
  • args
  • raw
◄casesdraft: a fast, rough pass normal: the everyday path max: the expensive path►
◄prompt►
◄providerlocal►
◄model►
◄seed0►
◄temperature0.00►
◄max_tokens512►
◄args_schema►
CategoryMAINodes/AI Decisions

Inputs (9)

NameTypeDefaultDescription
casesSTRINGdraft: a fast, rough pass normal: the everyday path max: the expensive pathone `name: description` per line, in slot order
promptSTRING—
providerSTRINGlocalthe NAME of a provider in flow_policy.json; a workflow never carries an endpoint or a key
modelSTRINGempty means the provider's default_model
seedINT00–4294967295re-run control, and sent as seed
temperatureFLOAT0.000–2—
max_tokensINT5121–1000000—
imagesoptIMAGEthe first 8 frames are sent
args_schemaoptSTRINGJSON-schema properties shared by every case

Outputs (4)

NameTypeDescription
selectorINT—
labelSTRING—
argsSTRING—
rawSTRING—