APPLY_TASK_OPENAI

Use Open AI’s GPT model to clean up or apply logic rules to data.

icon of OpenAIOpenAI
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
APPLY_TASK_OPENAI(prompttext
[temperature]
[max_tokens]
[model]
)
prompt

The prompt with the task or rule to apply. For example: "Capitalize all words".

text

The text you want to apply the task or rule to. "i hAvE A Dog".

[optional] temperature

The sampling temperature to use, between 0 and 2. Use 2 for creative applications, and 0 for well-defined answers. By default it is 0. For example: "0.4".

[optional] max_tokens

The maximum number of tokens to generate in the completion. For example: "230".

[optional] model

The model to use. By default it uses "gpt-4o" .For example: "ada" .

Selected options:
gpt-4
gpt-4o

Examples

APPLY_TASK_OPENAI(Capitalize all characters, i hAvE A Dog) returns I HAVE A DOG