Skip to main content
Add these nodes with the pipeline builder: pipeline.add(name="...").<node>(...). Each entry lists the node’s configuration parameters. See the Pipeline reference for add, run, and lifecycle methods.

llm — LLM

LLM
Platform docs: LLM
pipeline.add(name="node").llm(provider="anthropic", api_key="...", json_schema="...")
Parameters
provider
str
required
Select the LLM provider to be used
stream
bool
default:"False"
Whether to stream the response
use_personal_api_key
bool
default:"True"
json_response
bool
default:"False"
Whether to return the response as a JSON object
show_sources
bool
default:"True"
Whether to show the sources used to generate the response
model
str
default:"''"
Select the LLM model to be used
prompt
str
default:"''"
The data that is sent to the LLM. Add data from other nodes with double curly braces e.g., {{input_0.text}}
system
str
default:"''"
The system prompt to be used
api_key
str
required
Your API key
baseUrl
str
default:"''"
citation_metadata
list[str]
default:"[]"
The metadata of the sources used to generate the response
Enable Claude’s built-in web search tool to search the web during response generation
jsonSchema
str
default:"''"
json_schema
str
required
The schema of the JSON response
reasoning_effort
str
default:"'default'"
Controls the depth of reasoning for GPT-5 models (“none” is only supported on GPT-5.1 variants). One of: default, high, low, medium, minimal, none
safe_context_token_window
bool
default:"False"
If enabled, the context window will be reduced to fit the model’s maximum context window.
verbosity
str
default:"'default'"
Controls the verbosity of GPT-5 responses. One of: default, high, low, medium
sampling
SamplingConfig
safety
SafetyConfig
retry
RetryConfig
enable_moderation
bool
Whether to enable moderation
enable_pii_address
bool
Whether to enable PII address
enable_pii_cc
bool
Whether to enable PII cc
enable_pii_email
bool
Whether to enable PII email
enable_pii_name
bool
Whether to enable PII name
enable_pii_phone
bool
Whether to enable PII phone
enable_pii_ssn
bool
Whether to enable PII ssn
max_retries
int
The maximum number of retries
max_tokens
int
The maximum amount of input + output tokens the model will take in and generate per run (1 token = 4 characters). Note: different models have different token limits and the workflow will error if the max token is reached.
retry_interval_ms
int
The interval between retries in milliseconds
retry_on_failure
bool
Enable retrying when the node execution fails
temperature
float
The “creativity” of the response - increase the temperature for more creative responses.
top_p
float
The “randomness” of the output - higher Top P values increase the randomness
deployment_id
str
default:"''"
The deployment ID for the Azure OpenAI model. This is required when using Azure OpenAI services.
endpoint
str
default:"''"
The Azure OpenAI endpoint URL (e.g., https://your-resource-name.openai.azure.com)
thinking_token_limit
int
default:"24576"
The maximum number of tokens the model can use for thinking
finetuned_model
str
default:"''"
Use your finetuned model for response generation. Make sure to select the matching base model from the dropdown.
use_finetuned_model
bool
default:"False"
base_url
str
default:"''"
The base URL of the custom LLM provider
aws_access_key_id
str
default:"''"
Your AWS Access Key ID
aws_region
str
default:"'us-east-1'"
AWS region where Bedrock models are enabled
aws_secret_access_key
str
default:"''"
Your AWS Secret Access Key

llm_anthropic_vision — llm_anthropic_vision

pipeline.add(name="node").llm_anthropic_vision(api_key="...", image=..., json_schema="...")
Parameters
use_personal_api_key
bool
default:"False"
json_response
bool
default:"False"
model
str
default:"'claude-3-haiku-20240307'"
prompt
str
default:"''"
system
str
default:"''"
api_key
str
required
image
AcceptsImage
required
json_schema
str
required
sampling
SamplingConfig
max_tokens
int
temperature
float
top_p
float

llm_google_vision — llm_google_vision

pipeline.add(name="node").llm_google_vision(prompt="...", api_key="...", image=...)
Parameters
model
str
default:"'gemini-pro-vision'"
prompt
str
required
api_key
str
required
image
AcceptsImage
required
json_response
bool
default:"False"
provider
str
default:"'googleImageToText'"
stream
bool
default:"False"
sampling
SamplingConfig

llm_open_ai_vision — llm_open_ai_vision

pipeline.add(name="node").llm_open_ai_vision(prompt="...", system="...", api_key="...", image=...)
Parameters
provider
str
default:"'openAiImageToText'"
stream
bool
default:"False"
use_personal_api_key
bool
default:"False"
json_response
bool
default:"False"
model
str
default:"'gpt-4-vision-preview'"
prompt
str
required
system
str
required
api_key
str
required
image
AcceptsImage
required
json_schema
str
required
sampling
SamplingConfig
max_tokens
int
temperature
float
top_p
float