🎨 从分类读取Prompt:
The PromptCategoryReader node is designed to facilitate the retrieval of prompts from a specified category within the Prompt Gallery. This node is particularly useful for AI artists who want to organize and access their creative prompts efficiently. By leveraging the category structure, it allows you to navigate through a hierarchical organization of prompts, making it easier to find and utilize specific prompts based on their categorization. The primary function of this node is to read and return prompts from a selected category, providing a streamlined way to manage and access creative content.
🎨 从分类读取Prompt Input Parameters:
category
The category input parameter allows you to specify the category from which you want to read prompts. This parameter is crucial as it determines the subset of prompts that will be retrieved. The available options for this parameter include a list of all categories present in the Prompt Gallery, with an additional option "全部" (meaning "All") that represents the root category. By selecting a specific category, you can narrow down the prompts to those that are most relevant to your current creative needs. The default value is "全部", which retrieves prompts from all categories.
🎨 从分类读取Prompt Output Parameters:
text
The text output parameter provides the retrieved prompts as a string. This output is essential as it delivers the actual content of the prompts that have been read from the specified category. The text output allows you to view and utilize the prompts directly, making it a valuable resource for generating creative ideas or guiding your artistic projects. The interpretation of this output is straightforward: it represents the collection of prompts associated with the chosen category, formatted as a single string for easy access and use.
🎨 从分类读取Prompt Usage Tips:
- To effectively utilize the
PromptCategoryReader, ensure that you have a well-organized category structure in your Prompt Gallery. This will make it easier to locate and retrieve specific prompts. - Use the "全部" option to get an overview of all available prompts, which can be helpful for brainstorming sessions or when you need a wide range of ideas.
🎨 从分类读取Prompt Common Errors and Solutions:
"缺少目标分类ID"
- Explanation: This error occurs when the target category ID is missing, which is necessary for retrieving prompts.
- Solution: Ensure that you have selected a valid category from the list of available categories before attempting to read prompts.
"目标分类不存在"
- Explanation: This error indicates that the specified target category does not exist in the Prompt Gallery.
- Solution: Double-check the category name or ID to ensure it matches one of the existing categories in your gallery. If necessary, update your category list to include the desired category.
