Skip to content

AI prompt


AI Operation

AI Prompt is a widget flow node that allows you to synchronously invoke a GPT model with a custom prompt.

Description

You can use this for various data transformations, summarizations, or unique, non-repetitive experiences within your flow.

Configuration

Prompt

Prompt – a natural language prompt. You may reference context values within the prompt. The maximum allowed prompt length, including all context values, is 4096 characters. If this limit is exceeded, the widget flow will terminate with an error.

Temperature

Temperature – controls the randomness of the model's output. Accepts a value between 0 and 2. Lower values (e.g., 0.2) result in more deterministic and focused responses, while higher values (e.g., 1.5) produce more diverse and creative outputs.

Limitations

NameValue
Min temperature0
Max temperature2
Max output tokens512
Max prompt input length4096
Max compiled prompt length4096
InputsExactly one
OutpusExactly one

Context values

An output field will be added to the context values, containing the full response from the model.