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 > Sage Utils > Construct LLM Prompt Extra

ComfyUI Node: Construct LLM Prompt Extra

Class Name

Sage_ConstructLLMPromptExtra

Category
Sage Utils/LLM
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

Install this extension via the ComfyUI Manager by searching for Sage Utils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Sage Utils 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

Construct LLM Prompt Extra Description

Enhances LLM prompts with extra instructions for nuanced, context-rich creative outputs.

Construct LLM Prompt Extra:

The Sage_ConstructLLMPromptExtra node is designed to enhance the process of creating prompts for Large Language Models (LLMs) by incorporating additional instructions or context. This node is particularly useful for AI artists and creators who wish to generate more nuanced and contextually rich prompts for their LLMs. By allowing the inclusion of extra instructions, this node provides a flexible and powerful way to tailor prompts to specific creative needs or project requirements. The main goal of this node is to facilitate the construction of detailed and effective prompts that can lead to more accurate and relevant outputs from LLMs, thereby enhancing the overall creative process.

Construct LLM Prompt Extra Input Parameters:

prompt

The prompt parameter allows you to select from a predefined list of prompts. This selection serves as the base or primary prompt that will be used in constructing the final LLM prompt. The choice of prompt can significantly influence the direction and focus of the LLM's output, making it a crucial component in the prompt construction process. There are no specific minimum or maximum values, but the options are predefined within the system.

extra_instructions

The extra_instructions parameter is a multiline text input that lets you provide additional context or instructions to be included in the LLM prompt. This parameter is optional and defaults to an empty string, allowing you to leave it blank if no extra instructions are needed. By adding extra instructions, you can guide the LLM to focus on specific aspects or details, thereby refining the output to better meet your creative objectives.

Construct LLM Prompt Extra Output Parameters:

out_prompt

The out_prompt parameter is the final constructed prompt that combines the selected base prompt with any additional instructions provided. This output is a string that represents the complete prompt ready to be used by an LLM. The importance of this output lies in its ability to encapsulate both the initial idea and any supplementary guidance, resulting in a more comprehensive and targeted prompt for generating desired LLM outputs.

Construct LLM Prompt Extra Usage Tips:

  • Experiment with different combinations of base prompts and extra instructions to see how they affect the LLM's output. This can help you understand the nuances of prompt construction and improve your ability to craft effective prompts.
  • Use the extra_instructions parameter to add specific details or constraints that are important for your project. This can help ensure that the LLM's output aligns more closely with your creative vision.

Construct LLM Prompt Extra Common Errors and Solutions:

Missing prompt selection

  • Explanation: This error occurs when no base prompt is selected from the predefined list.
  • Solution: Ensure that you select a prompt from the available options before proceeding with the prompt construction.

Invalid extra_instructions format

  • Explanation: This error might occur if the extra instructions contain unsupported characters or formatting.
  • Solution: Review the extra instructions to ensure they are formatted correctly and do not contain any unsupported characters. Use plain text to avoid formatting issues.

Construct LLM Prompt Extra Related Nodes

Go back to the extension to check out more related nodes.
Sage Utils
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.