ComfyUI Node
LLM Prompt Expander
Formats a prompt expansion request for a local LLM. Validates the model path and temperature, then returns a JSON payload that would be sent to the LLM backend.
LLM Prompt Expander
- expanded_prompt_payload
- is_valid
- reason
◄raw_prompt►
◄llm_model_pathmodels/llama/llama-3-8b-instruct.gguf►
◄temperature0.70►
CategoryParametric/Agents
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| raw_prompt | STRING | Raw prompt. | |
| llm_model_path | STRING | models/llama/llama-3-8b-instruct.gguf | Llm model path. Default models/llama/llama-3-8b-instruct.gguf. |
| temperature | FLOAT | 0.700–2 | Temperature. From 0 to 2. Default 0.7. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| expanded_prompt_payload | STRING | — |
| is_valid | BOOLEAN | — |
| reason | STRING | — |