Duaer

Integrations

Use OpenAI Chat Model in Duaer

In Duaer, OpenAI Chat Model is an AI sub-node. Connect it to the Chat Model input of AI Agent, Basic LLM Chain, or another AI root node.

Connect OpenAI Chat Model in Duaer

  1. On the Duaer canvas, select the Chat Model input under AI Agent, Basic LLM Chain, or another AI root node and pick OpenAI Chat Model.
  2. In Credential to connect with, pick or create an OpenAI credential.
  3. Set Model.
  4. If needed, select Add Option for the optional settings listed below.
  5. Run AI Agent. OpenAI Chat Model runs as part of it, and its calls show under that node in the execution.

OpenAI Chat Model parameters in Duaer

  • Model: The model.
  • Use Responses API: Whether to use the Responses API to generate the response.

OpenAI Chat Model options in Duaer

Under Add Option, OpenAI Chat Model offers Base URL, Frequency Penalty, Maximum Number of Tokens, Response Format, Presence Penalty, Sampling Temperature, Reasoning Effort, Timeout, Max Retries, Top P, Extra Body, and Conversation ID.

Use Responses API

From version 1.3, the Duaer OpenAI Chat Model has Use Responses API, on by default, which generates answers through the OpenAI Responses API. When it is on:

  • Built-in Tools are available.
  • Options > Response Format offers Text, JSON Schema (recommended), or JSON Object, plus Verbosity.
  • Options adds Conversation ID, Prompt Cache Key, Safety Identifier, Service Tier, Metadata, Top Logprobs, and Prompt (a prompt template from the OpenAI console).

Turn it off to use Chat Completions, where Response Format is Text or JSON. Turn it off when the credential points at an OpenAI-compatible service without the Responses API. Some models only support the Responses API and fail with This model requires the Responses API when it is off.

Built-in Tools

With Use Responses API on, the Duaer OpenAI Chat Model can use OpenAI’s own tools without separate tool nodes:

  • Web Search: search the web. Search Context Size is Low, Medium (default), or High. Web Search Allowed Domains is a comma-separated list of domains to search. Country, City, and Region give an approximate location.
  • File Search: search OpenAI vector stores. Vector Store IDs is a JSON array of IDs managed in the OpenAI console. Add Filters if needed. Max Results defaults to 1.
  • Code Interpreter: let the model run code in a sandbox.

Common issues

For errors and fixes, refer to Common issues with OpenAI Chat Model in Duaer.

Questions

Where does OpenAI Chat Model connect in Duaer?

In Duaer, OpenAI Chat Model connects to the Chat Model input of AI Agent, Basic LLM Chain, or another AI root node. It does not run on its own.

Which credential does OpenAI Chat Model use in Duaer?

Duaer's OpenAI Chat Model uses an OpenAI credential. The secret stays in the credential, not in node parameters.

In this section