Visit ComfyUI Online for ready-to-use ComfyUI environment
Retrieve values by key from cache or data source for efficient data access in workflows.
The Getter node is designed to retrieve and return values associated with a specific key from a cache or other data source. This node is particularly useful in workflows where you need to access previously stored data without recalculating or re-fetching it, thereby optimizing performance and efficiency. By leveraging the Getter node, you can streamline your processes, reduce redundancy, and ensure that your workflow remains efficient and effective. The main goal of the Getter node is to provide a seamless way to access cached or stored values, making it an essential component in data-driven workflows.
The key
parameter is a string that specifies the unique identifier for the value you want to retrieve. This key is used to look up the value in the cache or data source. If the key is not found, the node will attempt to fetch the value using other means. The default value for this parameter is an empty string. The key is crucial for ensuring that the correct value is retrieved, and it must be unique within the context of your workflow.
The value
parameter is an optional input that can be of any type. This parameter is used to provide a default value or additional context for the retrieval process. If the key is not found in the cache, the node may use this value as a fallback. The flexibility of this parameter allows you to handle various data types and scenarios, making the Getter node adaptable to different needs.
The *
output parameter represents the value retrieved from the cache or data source. This value can be of any type, depending on what was stored under the specified key. The output is essential for passing the retrieved data to subsequent nodes in your workflow, enabling further processing or analysis. The versatility of this output ensures that the Getter node can be used in a wide range of applications.
key
parameter is unique and correctly specified to avoid retrieving incorrect or unintended values.value
parameter to provide a default or fallback value in case the key is not found in the cache.<key>
, inputs: <inputs>
value
parameter.© Copyright 2024 RunComfy. All Rights Reserved.