vellum.workflows.nodes.InlinePromptNode
Used to execute a prompt directly within a workflow, without requiring a prompt deployment.
Optional inputs for variable substitution in the prompt. These inputs are used to replace:
blocks attributeYou can reference either Workflow inputs or outputs from upstream nodes.
The blocks that make up the Prompt
The model to use for execution (e.g., “gpt-5”, “claude-4-sonnet”)
The functions to include in the prompt
Model parameters for execution. Defaults to:
json_schema (learn more here).Expandable execution fields to include in the response. See more here.
Additional options for request-specific configuration when calling APIs via the SDK. This is used primarily as an optional final parameter for service functions.
The generated text output from the prompt execution
The array of results from the prompt execution. PromptOutput is a union of the following types: