Prompt Multiline:
ErePromptMultiline is a versatile node designed to handle and process multiline text inputs efficiently. It is part of the EreNodes suite, which provides a range of functionalities for managing and manipulating text prompts in creative workflows. This node is particularly beneficial for users who need to work with complex text structures, allowing for the seamless integration of multiline text with optional prefixes. The node's primary function is to concatenate a given prefix with the main text input, using a customizable separator that can be adjusted based on specific workflow requirements. This flexibility makes ErePromptMultiline an essential tool for artists and creators who need to manage detailed and structured text prompts, enhancing their ability to generate intricate and nuanced outputs.
Prompt Multiline Input Parameters:
text
The text parameter is a required input that accepts a multiline string. This parameter serves as the main body of text that you wish to process. The multiline capability allows you to input complex and structured text, which can be particularly useful for detailed prompts or instructions. There is no explicit minimum or maximum length for this input, but it is designed to handle extensive text entries efficiently.
prefix
The prefix parameter is an optional input that allows you to prepend a specific string to the main text. This can be useful for adding context or categorization to your text input. When provided, the prefix is concatenated with the main text using a separator. The default behavior is to force input for this parameter, ensuring that any prefix used is intentional and relevant to the task at hand.
extra_pnginfo
This hidden parameter is used internally to store additional metadata, such as workflow information. It is not intended for direct user input but plays a crucial role in determining the separator used between the prefix and the main text. If the workflow metadata contains specific instructions, the node will adjust the separator accordingly.
unique_id
Another hidden parameter, unique_id, is used to uniquely identify the node within a workflow. This ensures that any specific settings or adjustments, such as the prefix separator, are applied correctly to the intended node instance.
Prompt Multiline Output Parameters:
STRING
The output of the ErePromptMultiline node is a single string that combines the prefix and the main text input, separated by a customizable separator. This output is crucial for generating structured and coherent text prompts, which can be used in various creative applications. The resulting string maintains the integrity of the original text while incorporating any additional context provided by the prefix.
Prompt Multiline Usage Tips:
- Utilize the
prefixparameter to add context or categorization to your text inputs, enhancing the clarity and relevance of your prompts. - Customize the separator by adjusting the workflow metadata to ensure that the concatenation of the prefix and text aligns with your specific formatting needs.
Prompt Multiline Common Errors and Solutions:
Missing text input
- Explanation: This error occurs when the required
textparameter is not provided. - Solution: Ensure that you input a valid multiline string in the
textparameter before processing.
Invalid prefix separator
- Explanation: This error might arise if the separator specified in the workflow metadata is not correctly formatted.
- Solution: Check the workflow metadata for the correct specification of the
_prefixSeparatorproperty and ensure it is formatted as a valid string.
