CREATE_LIST_OPENAI

Use Open AI’s GPT model to generate lists of items based on a prompt.

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

Parameter List

Syntax
CREATE_LIST_OPENAI(prompt
[number of items]
[temperature]
[max_tokens]
[model]
)
prompt

The description of the list to be generated by the model. For example: "The last 10 US Presidents names and birthday dates.".

[optional] number of items

The number of items expected from the list. Use this parameter if the number of items was not specified in the prompt. For example:"10".

[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-3.5-turbo" .For example: "ada" .

Selected options:
gpt-3.5-turbo
gpt-4

Examples

CREATE_LIST_OPENAI("The last 10 US Presidents names and birthday dates.", , , ) returns A table with 2 columns: one with the names of the last 10 US presidents, and another with their birthdat dates.