Prompting Nodes
Learn about the various Prompting Nodes that Rubbrband has
Text Generator Node
The text generator node produces text given a prompt and a task. It’s good for workflows that require an input prompt to be modified in a certain way every time. For instance, if you want to make all input prompts into “pirate-style” prompts.
Inputs
The input text that is used as context to generate the output text. If not passed in, the node will only consider the task definition in the settings.
Settings
A description of the task — this describes what the GPT is supposed to do.
Example: “You are a pirate image generator, create a prompt inspired from pirates for a stable diffusion text to image, given a topic that I will provide to you. Please make sure the prompt is clear and concise.”
In this case, the topic would come from the prompt.
Outputs
The text response from the language model
Describe Node
The describe node produces text given an image input. It can be used to describe the image, but also for any task that requires viewing the image to produce text.
Inputs
The image that is provided as context for the task
Settings
The proposed prompt for the language model to respond to. For example: “Describe this image, but imagine that the background is a medieval town, instead of what it is right now. Provide the description for the image with the new background.”
Outputs
The text response from the language model