ComfyUI Node
Text -> Line Context Counter
A ComfyUI node in Text/Utils with 8 inputs and 6 outputs.
Text -> Line Context Counter
- counter
- current_line_text
- previous_lines_text
- next_lines_text
- combined_context_text
- all_lines_text
◄text►
◄set_counter1►
◄previous_lines1►
◄next_lines1►
◄current_prefixCurrent line: {line}►
◄previous_prefixPrevious {count} lines: {lines}►
◄next_prefixNext {count} lines: {lines}►
◄all_lines_prefixAll the content: ►
CategoryText/Utils
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| set_counter | INT | 1 | — |
| previous_lines | INT | 1 | — |
| next_lines | INT | 1 | — |
| current_prefix | STRING | Current line: {line} | — |
| previous_prefix | STRING | Previous {count} lines: {lines} | — |
| next_prefix | STRING | Next {count} lines: {lines} | — |
| all_lines_prefix | STRING | All the content: | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| counter | INT | — |
| current_line_text | STRING | — |
| previous_lines_text | STRING | — |
| next_lines_text | STRING | — |
| combined_context_text | STRING | — |
| all_lines_text | STRING | — |