ComfyUI Node
Extract Q/A (CRT)
Extracts the user or assistant phrase from a JSON Q/A pair and builds a ready-to-use LLM instruction for Unsloth Studio Bridge.
Extract Q/A (CRT)
- phrase
- instruction
◄qa_string—►
◄targettrue►
CategoryCRT/Text
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| qa_string | STRING | JSON string in the form {"user":"...","assistant":"..."} | |
| target | BOOLEAN | true | ON = extract the user question and build an 'answer it' instruction. OFF = extract the assistant answer and build a 'create the question' instruction. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| phrase | STRING | — |
| instruction | STRING | — |