Usage
The following example shows how the step can be used in a recipe.Examples
Examples
- Example 1
- Signature
Bring the number of categories down to 10 categories
Inputs & Outputs
The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced
by name e.g. "churn-clf").
Configuration
The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e.step(..., {"param": "value", ...}) -> (output).
Parameters
Parameters
Further instructions to generate the desired set of categories. You can ask for things like ‘generate around 5 categories’
Model Configuration.
Configuration for OpenAI’s model.
Properties
Properties
OpenAI model to choose.Values must be one of the following:
gpt-4.1gpt-6-lunagpt-6.1-sol
Reasoning effort.
Luna defaults to none; Sol defaults to medium. Explicit reasoning levels are preserved, except Sol uses low when none is requested.Values must be one of the following:
none low medium high xhigh max