Use AI.LIST to submit a prompt to OpenAI ( ChatGPT ) and returns the list items
For example:
- =AI.LIST(“give me 5 email subject ideas for a product release campaign”)
Syntax
AI.LIST(prompt, [value], [temperature], [maxTokens], [model])
Argument name | Description |
---|---|
prompt (required) | The prompt to submit. |
value OPTIONAL | The value to be added to the end of the prompt. |
temperature OPTIONAL | Controls the creativity of the response, with 0 being the most predictable and 1 being the most random. The default value is 0. |
maxTokens OPTIONAL | The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model’s context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096). |
model OPTIONAL | ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them. |
![](https://appsdowonders.com/wp-content/uploads/2023/02/home-image-1.jpg)