Feat: Add documentation for Multi Prompts and Text Line Prompt nodes with detailed input and behavior descriptions
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
### Multi Prompts (Text-Driven)
|
||||
Allows simultaneous editing and management of multiple independent prompts within a single node.
|
||||
* **Inputs:**
|
||||
* `num_prompts` (Combo, Options: `1` - `10`, Default: `3`): The number of active visible slots.
|
||||
* `optional_text_in` (String, Force Input, Optional): An upstream text fragment to merge.
|
||||
* `text_1` to `text_10` (String, Multiline): Individual prompt fragment slots.
|
||||
* `multiplier_1` to `multiplier_10` (Float, Default: `1.0`, Range: `0.0` - `10.0`): Weight factors for each slot.
|
||||
* `active_1` to `active_10` (Boolean, Default: `True`): Toggles the output state of each slot.
|
||||
* **Behavior:** The text input fields dynamically expand or shrink based on the specified number to keep your workspace clean. You can toggle individual weights and output active states for each slot. All active prompts are automatically joined into a single comma-separated string output. It automatically strips trailing zeros from floating numbers (e.g., `1.10` becomes `1.1`) to ensure clean prompt injection.
|
||||
@@ -0,0 +1,10 @@
|
||||
### Text Line Prompt (Text-Driven)
|
||||
|
||||
An innovative editing node that allows intuitive control over long prompts entered with newline separations, enabling you to change attention weights or toggle skip on/off for each line with simple mouse clicks.
|
||||
|
||||
* **Inputs:**
|
||||
* `text` (String, Multiline): The main text area to enter your line-separated prompt fragments.
|
||||
* `selected_line` (Combo Select): Selects a specific line from the multi-line text to edit.
|
||||
* `multiplier` (Float, Default: `1.0`): Weight adjustment factor for the selected line.
|
||||
* `active` (Boolean, Default: `True`): Toggles the output state for the selected line.
|
||||
* **Behavior:** Input parts or all of your prompts separated by newlines. By selecting a line via the combobox, you can adjust the weight multiplier or active status for that specific line. Deactivated lines are prepended with `//` and are automatically skipped during execution. The final output string from this node will have all newline characters removed at runtime.
|
||||
Reference in New Issue
Block a user