OpenAI
OpenAI’s API provides access to GPT-3, which performs a wide variety of natural language tasks, and Codex, which translates natural language to code.
Actions
Action |
Configuration fields |
Data type |
Required? |
---|---|---|---|
Create a completion - Creates a completion for the provided prompt and parameters |
Amount of completions - Enter how many completions to generate for each prompt |
Number |
|
Stop sequences - Enter up to 4 stop sequences as comma-separated values. The returned text won`t contain the stop sequence. |
Array string |
|
|
Temperature - Enter what sampling temperature to use |
Number |
|
|
Model - Provide the model to use |
String |
|
|
Prompt - Provide the prompt to generate completions for |
String |
|
|
Maximum tokens - The maximum number of tokens to generate in the completion |
Number |
|
|
Create an edit - Creates a new edit for the provided input, instruction, and parameters |
Amount of edits - Enter how many edits to generate for the input and instruction |
Number |
|
Model - Enter the ID of the model to use |
String |
|
|
Input - Enter the input text to use as a starting point for the edit |
String |
|
|
Instruction - Enter the instruction that tells the model how to edit the prompt |
String |
|
|
Temperature - Enter what sampling temperature to use |
Number |
|