Visit ComfyUI Online for ready-to-use ComfyUI environment
Execute prompt-based tasks within Griptape framework, generating responses for various applications efficiently.
The Griptape Run: Prompt Task node is designed to execute a prompt-based task within the Griptape framework. This node allows you to input a text prompt, which is then processed by an agent to generate a response. The primary purpose of this node is to facilitate the execution of tasks that require textual input, making it a versatile tool for various applications such as generating creative content, answering questions, or performing specific actions based on the provided prompt. By leveraging the capabilities of the Griptape agent, this node ensures that the prompt is handled efficiently and effectively, providing you with the desired output. This node is particularly beneficial for AI artists and other users who need to automate tasks or generate content based on textual prompts, offering a seamless and user-friendly experience.
The STRING
parameter is the main text input for the prompt task. It allows you to provide the primary text that the agent will process. This parameter supports multiline input and dynamic prompts, enabling you to create complex and detailed prompts. The content of this parameter directly influences the task's execution and the resulting output. There are no specific minimum or maximum values, but it is essential to provide a clear and concise prompt to achieve the best results.
The input_string
parameter is an optional text input that can be used to supplement the main STRING
parameter. If provided, it will be appended to the STRING
parameter, allowing you to combine multiple pieces of text into a single prompt. This parameter also supports dynamic prompts and is useful for adding additional context or information to the main prompt. There are no specific minimum or maximum values, but it should be used thoughtfully to enhance the primary prompt.
The agent
parameter is an optional input that allows you to specify a custom agent to handle the prompt task. If not provided, a default agent will be used. This parameter is useful if you have a specific agent configuration or capabilities that you want to leverage for the task. The agent's configuration can significantly impact the task's execution and the quality of the output.
The OUTPUT
parameter is the primary output of the prompt task. It contains the response generated by the agent based on the provided prompt. This output is typically a string that reflects the agent's processing of the input text, and it can be used for various purposes such as displaying the result, further processing, or feeding into other nodes. The content of this output is directly influenced by the input parameters and the agent's capabilities.
The AGENT
parameter is the secondary output of the prompt task. It returns the agent that was used to process the prompt, allowing you to reuse or further configure the agent for subsequent tasks. This output is particularly useful if you need to maintain the agent's state or leverage its configuration for additional tasks within your workflow.
STRING
parameter is clear and concise to achieve the best results from the agent.input_string
parameter to add additional context or information to your main prompt, enhancing the overall input.agent
parameter to leverage its capabilities for the task.STRING
parameter is empty or contains only whitespace.STRING
parameter.© Copyright 2024 RunComfy. All Rights Reserved.