completions
This block is part of the chatgpt
group and was last modified in core v14.0.1
.
Deprecated
This block has been deprecated since
v14.0.1
, please avoid future use.
completions
Deprecated since v14.0.1
v13.0.1
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
v13.0.1 This block was introduced inv13.0.1
, click here to see the release notes.
v14.0.1
This block was last modified in v14.0.1
, click here to see the release notes.
v14.0.1
This block was deprecated in v14.0.1
, 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