Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI_SamplingUtils > VLM System Query Add Presets

ComfyUI Node: VLM System Query Add Presets

Class Name

VLMSysQueryAddPresets

Category
advanced/text
Author
silveroxides (Account age: 2211days)
Extension
ComfyUI_SamplingUtils
Latest Updated
2026-06-03
Github Stars
0.02K

How to Install ComfyUI_SamplingUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI_SamplingUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_SamplingUtils 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

VLM System Query Add Presets Description

Enhances text queries with predefined prefixes and suffixes for standardization and enrichment, leveraging JSON presets for flexibility.

VLM System Query Add Presets:

The VLMSysQueryAddPresets node is designed to enhance text-based queries by appending predefined prefixes and suffixes to user-provided text. This node is particularly useful in scenarios where you need to standardize or enrich queries with additional context or formatting. By leveraging a set of predefined presets, it allows for consistent query augmentation, which can be beneficial in various text processing or AI-driven applications. The node reads from a JSON file to retrieve these presets, ensuring that the augmentation is both flexible and easily configurable. This capability is essential for users looking to streamline their text processing workflows by automating the addition of contextual information to their queries.

VLM System Query Add Presets Input Parameters:

preset

The preset parameter allows you to select from a list of predefined options that determine the specific prefix and suffix to be added to your text. These presets are loaded from a JSON file and are designed to provide various contextual augmentations to your queries. The available options are dynamically retrieved and sorted, with the first option being the default if no selection is made. This parameter is crucial as it dictates the nature of the augmentation applied to your text.

text

The text parameter is where you input the main body of your query or text that you wish to augment. This input is a multiline string, allowing for complex and lengthy text entries. The text you provide here will be sandwiched between the selected preset's prefix and suffix, resulting in a modified output that incorporates additional context or formatting as specified by the chosen preset.

VLM System Query Add Presets Output Parameters:

system_query_additional

The system_query_additional output parameter provides the final augmented text, which includes the original input text with the selected preset's prefix and suffix applied. This output is a single string that represents the enhanced query, ready for further processing or use in your application. The importance of this output lies in its ability to deliver a standardized and contextually enriched version of your input text, facilitating more effective text processing or AI interactions.

VLM System Query Add Presets Usage Tips:

  • Ensure that the JSON file containing the presets is correctly formatted and accessible, as this is crucial for the node to function properly.
  • Experiment with different presets to find the one that best suits your specific text processing needs, as each preset can provide a unique contextual augmentation.

VLM System Query Add Presets Common Errors and Solutions:

Error loading VLM System Query Add Presets: <error_message>

  • Explanation: This error occurs when the node is unable to load the presets from the JSON file, possibly due to file path issues or incorrect JSON formatting.
  • Solution: Verify that the JSON file is located in the correct directory and is properly formatted. Check for any syntax errors in the JSON file and ensure that the file path is correct.

Error executing VLM System Query Add Presets: <error_message>

  • Explanation: This error indicates a problem during the execution phase, likely due to missing or incorrect preset keys in the JSON file.
  • Solution: Ensure that the JSON file contains the correct keys for the selected preset, including both the prefix and suffix. Double-check the JSON structure to confirm that all necessary data is present and correctly formatted.

VLM System Query Add Presets Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_SamplingUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

VLM System Query Add Presets