completions
This block is part of the chatgpt
group and was last modified in core v10.4.28
.
completions
v10.4.28
Chat models take a list of messages as input and return a model-generated message as output.
Pin | Pin | Type | Default |
---|---|---|---|
flow |
flow |
|
|
keyrequired OpenAI Key |
value |
|
|
messagesrequired [{ role: "system|user|assistant", content: "context", name: "optional" }] |
array |
|
|
model GPT model to use gpt-4 or gpt-3.5-turbo |
value |
gpt-4 |
Pin | Pin | Type | Example |
---|---|---|---|
flow |
flow |
||
success |
condition |
||
choices Array of choices the GPT model provided |
array |
||
id |
value |
||
usage |
object |
||
error Contains error info in case of a problem |
value |
Core Releases
v10.4.28 This block was introduced inv10.4.28
, click here to see the release notes.
Back to
chatgpt
Return to the main group to view all sub-groups
Back to chatgpt
Return to the group to view all blocks within this group