Call OpenAI’s models on each row of the dataset for a given prompt.
{[expected_column]: "description"}
.
Both in the prompt and the response format descriptions you may refer to the row’s attributes by using
${attribute_name}
. Check the examples and parameter documentation below for more information.
???+ info “API integration”
To use this step your team needs to have the OpenAI integration configured in Graphext. The corresponding credentials
are required to connect to a third-party API. You can configure API integrations following the INTEGRATIONS
or ADD INTEGRATION
link in the top-left corner of your Team’s page, selecting API keys
, and then the name of the desired third-party service.
First, create an OpenAI account or sign in.
Next, navigate to the API key page and “Create new secret key”, optionally naming the key.
Make sure to save this somewhere safe and do not share it with anyone.
Optionally, you can specify the organization the key belongs to.
On OpenAI’s’ page, you can set general budgets for your api key and other settings that may interest you.
Examples
ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
step(..., {"param": "value", ...}) -> (output)
.
Parameters
Item properties
Item properties
category
date
number
boolean
url
sex
text
list[number]
list[category]
list[url]
list[boolean]
list[date]
Properties
gpt-4o
gpt-4o-mini
o3-mini
gpt-4.1
gpt-4.1-mini
gpt-4.1-nano