ComfyUI  >  Nodes  >  ComfyUI Griptape Nodes >  Griptape Create: Rules

ComfyUI Node: Griptape Create: Rules

Class Name

Griptape Create: Rules

Category
Griptape/Agent Rules
Author
griptape-ai (Account age: 560 days)
Extension
ComfyUI Griptape Nodes
Latest Updated
8/2/2024
Github Stars
0.1K

How to Install ComfyUI Griptape Nodes

Install this extension via the ComfyUI Manager by searching for  ComfyUI Griptape Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Griptape Nodes in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Griptape Create: Rules Description

Define guidelines for agent behavior within Griptape framework, ensuring consistency and adherence to principles.

Griptape Create: Rules:

The "Griptape Create: Rules" node is designed to help you define a set of guidelines or rules for an agent within the Griptape framework. This node allows you to create a structured set of rules that can guide the behavior and responses of an agent, ensuring consistency and adherence to specific principles. By using this node, you can easily input and manage multiple rules, making it a powerful tool for customizing agent interactions. The primary goal of this node is to facilitate the creation of a ruleset that can be applied to agents, enhancing their functionality and ensuring they operate within defined parameters.

Griptape Create: Rules Input Parameters:

name

This parameter allows you to specify a name for your set of rules. The name helps in identifying and managing different rulesets, especially when you have multiple sets of rules for various agents. The default value for this parameter is "My rules".

rules

This parameter is where you input the actual rules for the agent. You can enter multiple rules, each on a new line. The rules should be clear and concise, guiding the agent's behavior and responses. For example, you might include rules like "Always be kind and friendly" or "Keep responses brief, but not curt". This parameter supports multiline input, making it easy to manage and edit multiple rules at once. The default value includes two example rules to get you started.

Griptape Create: Rules Output Parameters:

RULES

This output parameter returns the created ruleset. The ruleset is a structured collection of the rules you have defined, ready to be applied to an agent. It ensures that the agent follows the specified guidelines, enhancing its performance and consistency.

NAME

This output parameter returns the name of the ruleset. It helps in identifying and managing the ruleset, especially when you have multiple sets of rules. The name is the same as the one you provided in the input parameter.

Griptape Create: Rules Usage Tips:

  • When defining rules, be clear and specific to ensure the agent understands and follows them accurately.
  • Use the multiline input feature to manage and edit multiple rules easily, ensuring each rule is on a new line for clarity.
  • Name your rulesets descriptively to make it easier to identify and manage them, especially if you have multiple agents with different rules.

Griptape Create: Rules Common Errors and Solutions:

"Invalid rule format"

  • Explanation: This error occurs when the rules are not formatted correctly, such as missing new lines between rules.
  • Solution: Ensure each rule is on a new line and follows the correct format. Double-check for any formatting issues.

"Empty ruleset"

  • Explanation: This error occurs when no rules are provided in the input.
  • Solution: Make sure to input at least one rule in the rules parameter. Avoid leaving the rules field empty.

"Name not provided"

  • Explanation: This error occurs when the name parameter is left empty.
  • Solution: Provide a name for your ruleset to ensure it can be identified and managed correctly.

Griptape Create: Rules Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Griptape Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.