Zum Inhalt springen
Agentic Workflowdocs
v0.8.2Kostenlos installieren

knoten / builtin / ai / aidependencies / llm

Chat OpenAI

Connect an OpenAI chat model to AI nodes.

KI ErweiterungWeb-App

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Give an AI node access to OpenAI’s GPT models, using your own OpenAI API key.

Chat OpenAI is a model you plug into the Model slot of an AI node, such as the Tools Agent or Basic LLM Chain. It does not run on its own and has no output. When the AI node runs, it sends its messages to OpenAI with your key and gets the reply back.

  • Temperature is 0 when you leave it empty, so answers are focused and repeatable.
  • Replies are capped at Max Tokens (4096 by default).
  • A failed request is retried up to Max Retries times (2 by default). A request that gets no answer within 60 seconds fails.
  • General writing, summarising, extracting and classifying with a GPT model.
  • An agent that calls tools: connect it to the Tools Agent.
  • You already have an OpenAI account with credit.

If your company uses OpenAI models through Microsoft Azure, use Chat Azure OpenAI instead.

EinstellungTypWas es bewirkt
Model (erforderlich)TextThe model to use.
Authentication (erforderlich)CredentialUse a Bearer Token.
Options GroupThe options to use with the model.
Options › Temperature NumberThe temperature to use for the model.
Options › Max Retries NumberThe maximum number of retries to use for the model. Standard: 2
Options › Max Tokens NumberThe most tokens the model may generate in one reply. Defaults to 4096, which keeps providers from reserving credit for the whole output window. Standard: 4096

Type the Model id exactly as OpenAI names it, for example gpt-4o-mini or gpt-4o. Your account must have access to that model.

This node has no output port. It plugs into a slot on another node instead of passing items along.

The AI node you connect it to produces the output. Chat OpenAI only decides which model answers.

In Authentication, use a Bearer Token credential that holds your OpenAI API key. Create the key on the API keys page of the OpenAI platform (platform.openai.com/api-keys). See Create a credential.

  1. A Context Menu trigger on the page.
  2. Get All Text with Output field name pageText.
  3. Summarization with Text {{ $input.pageText }} and Max words 80, with Chat OpenAI in its Model slot (Model gpt-4o-mini).
  4. Browser Notification with Message {{ $input.summary }}.
  • “Model parameter is required and cannot be empty”. Fill in Model.
  • An “Incorrect API key” or 401 error. The key is wrong or revoked. Create a new key and update the credential.
  • A 429 or “quota” error. Your OpenAI account is out of credit or over its rate limit. Add credit or wait, then run again.
  • The answer stops mid-sentence. It hit Max Tokens. Raise it under Options.
Seite bearbeiten

Zuletzt aktualisiert:

Was this page useful?
Aria zu Chat OpenAI fragen