Advanced Choice:
The RiceRoundAdvancedChoiceNode is designed to provide advanced selection capabilities within the RiceRound framework, allowing you to make complex choices based on predefined options. This node extends the functionality of the RiceRoundSimpleChoiceNode by offering more sophisticated choice mechanisms, which can be particularly useful in scenarios where decision-making is based on multiple criteria or when integrating with other nodes that require a higher level of customization. The primary goal of this node is to enhance the flexibility and control you have over the choice-making process, enabling more dynamic and context-sensitive workflows. By leveraging this node, you can streamline your creative processes, ensuring that the choices made are aligned with your specific artistic goals and project requirements.
Advanced Choice Input Parameters:
name
The name parameter is a string input that serves as an identifier for the choice being made. It allows you to label the choice for easier reference and organization within your workflow. The default value is "Parameter", but you can customize it to reflect the specific context or decision point it represents. This parameter does not have a minimum or maximum value, as it is a text-based input.
default
The default parameter is a string input that specifies the default choice or value to be used if no other selection is made. This ensures that the node can still function and produce an output even if no explicit choice is provided. The default value is an empty string, but you can set it to any string that represents a valid choice within your context. Like the name parameter, it does not have a minimum or maximum value.
Advanced Choice Output Parameters:
value
The value output parameter represents the result of the choice made by the node. It is a string that corresponds to the selected option based on the input parameters and any additional logic defined within the node. This output is crucial for determining the flow of your workflow, as it dictates subsequent actions or decisions that depend on the choice made. Understanding the value output allows you to effectively manage and direct the outcomes of your creative processes.
Advanced Choice Usage Tips:
- Ensure that the
nameparameter is descriptive enough to easily identify the choice context within your workflow, which can help in managing complex projects with multiple decision points. - Utilize the
defaultparameter to provide a fallback option that aligns with your overall project goals, ensuring that the node produces meaningful outputs even in the absence of explicit user input.
Advanced Choice Common Errors and Solutions:
Warning: Advanced Choice <unique_id> not found in prompt_info.choice_node_map
- Explanation: This warning indicates that the node with the specified unique ID could not be located in the choice node map, which may prevent it from functioning as expected.
- Solution: Verify that the unique ID is correctly set and that the node is properly registered in the choice node map. Ensure that any dependencies or related nodes are correctly configured and accessible within your workflow.
