ComfyUI Node
Extract JSON from LLM Output
Extract the first valid JSON object/array from raw LLM text output.
Extract JSON from LLM Output
- json_string
- error
◄llm_output►
CategoryParametric/Prompts
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| llm_output | STRING | Llm output. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| json_string | STRING | — |
| error | STRING | — |