Skip to main content

Usage

The following example shows how the step can be used in a recipe.

Examples

Get description from tf-idf cluster keywords

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").
column[category]
required
TF-IDF keywords from the clusters to describe in natural language.
column[category]
required

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

string
default:"Same as tf-idf keywords"
Language. Language you wish to use. Defaults to the TF-IDF keywords.
object
Model Configuration. Configuration for OpenAI’s model.
string
default:"gpt-6-luna"
OpenAI model to choose.Values must be one of the following:
  • gpt-4.1
  • gpt-6-luna
  • gpt-6.1-sol
string
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
number
default:"0.7"
Temperature. Higher means more creativity, but also makes the model more likely to hallucinate. Lower temperature yields more deterministic results. Ignored when reasoning is enabled.Values must be in the following range: