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 Updated v14.0.1

Chat models take a list of messages as input and return a model-generated message as output.

In pins 3 + flow
  • flow
  • key value required

    OpenAI Key

  • messages array<object> required

    [{ role: "system|user|assistant", content: "context", name: "optional" }]

  • model value

    GPT model to use gpt-4 or gpt-3.5-turbo

    Default gpt-4

Out pins 5 + flow
  • flow
  • success condition
  • choices array

    Array of choices the GPT model provided

  • id value
  • usage object
  • error value

    Contains error info in case of a problem

gpt4

Version history

Introduced in v13.0.1.

Last modified in v14.0.1.

Deprecated since v14.0.1.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
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