clean_categories
Clean a given column of categories or lists of categories using OpenAI.
original
column[category|list[category]]
requiredoriginal column.
cleaned
column
requiredcleaned column.
integration
string
requiredAssociated integration.
categories
array[string]
Categories desired in the result column. If passed instructions are ignored.
instructions
string
Further instructions to generate the desired set of categories. You can ask for things like ‘generate around 5 categories’
model
object
Model Configuration. Configuration for OpenAI’s model.
id
string
default: "gpt-3.5-turbo"OpenAI model to choose.
Values must be one of the following:
gpt-3.5-turbo
gpt-4o
temperature
number
default: "0.7"Temperature. Higher means more creativity, but also makes the model more likely to hallucinate. Lower temperature yields more deterministic results.
Values must be in the following range:
0 ≤ temperature ≤ 1
Was this page helpful?