System Prompt (Lumina 2):
The Sage_SystemPrompt node is designed to select a predefined system prompt based on the user's choice from a set of options. This node is particularly useful for AI artists who want to streamline their workflow by utilizing specific system prompts tailored to different scenarios or creative needs. By providing a simple interface to choose from various system prompts, it enhances the efficiency and consistency of prompt generation, ensuring that the selected prompt aligns with the desired creative direction. This node is part of the Sage Utils suite, which focuses on specialized text processing utilities, making it an essential tool for those looking to leverage predefined prompts in their AI art projects.
System Prompt (Lumina 2) Input Parameters:
system
The system parameter allows you to select a specific system prompt from a predefined list of options. This parameter is crucial as it determines which system prompt will be used in the node's execution. The available options are derived from the LUMINA2_SYSTEM_PROMPTS_V2 dictionary, which contains various prompts tailored for different purposes. The default value for this parameter is "superior," which means that if no specific option is selected, the node will default to this prompt. This parameter does not have minimum or maximum values, as it is a selection from a list of predefined options. Choosing the right system prompt can significantly impact the output, as it sets the tone and context for the subsequent AI-generated content.
System Prompt (Lumina 2) Output Parameters:
system_prompt
The system_prompt output parameter provides the selected system prompt as a string. This output is essential as it serves as the foundation for further text processing or AI generation tasks. The value of this output is directly influenced by the choice made in the system input parameter. By providing a clear and concise system prompt, this output ensures that the AI model or subsequent nodes have a well-defined starting point for generating content. Understanding the context and purpose of the selected system prompt can help you better interpret and utilize the generated output in your creative projects.
System Prompt (Lumina 2) Usage Tips:
- Experiment with different system prompts to see how they influence the AI-generated content. This can help you find the most suitable prompt for your specific artistic needs.
- Use the default "superior" prompt as a starting point if you're unsure which option to choose. It provides a balanced and versatile foundation for various tasks.
System Prompt (Lumina 2) Common Errors and Solutions:
KeyError: 'system'
- Explanation: This error occurs when the specified system prompt key is not found in the
LUMINA2_SYSTEM_PROMPTS_V2dictionary. - Solution: Ensure that the
systemparameter is set to one of the valid options listed in the node's interface. Double-check for any typos or incorrect entries.
EmptyOutputError
- Explanation: This error might occur if the selected system prompt does not exist or returns an empty string.
- Solution: Verify that the
systemparameter is correctly set and corresponds to a valid entry in theLUMINA2_SYSTEM_PROMPTS_V2dictionary. If the issue persists, check the dictionary for any missing or incorrectly defined prompts.
