Skip to content

Lm Chat Open Ai

Node: lmChatOpenAi · Full type: @n8n/n8n-nodes-langchain.lmChatOpenAi · Version: 1.3

Ergonomic keyword available: LLM openai — see NFLOW.md for shorter syntax.

Credentials

openAiApi (alias: @open)

CREDENTIAL @open = openAiApi "My Lm Chat Open Ai"

Parameters

Parameter Type Default Details
model options "gpt-5-mini"
responsesApiEnabled boolean true
builtInTools collection {} keys: webSearch, fileSearch, codeInterpreter
options collection {} keys: baseURL, frequencyPenalty, maxTokens, responseFormat, responseFormat, textFormat, ...

builtInTools children:

Parameter Type Default Details
webSearch collection {...} keys: searchContextSize, allowedDomains, country, city, region
fileSearch collection {...} keys: vectorStoreIds, filters, maxResults
codeInterpreter boolean true

options children:

Parameter Type Default Details
baseURL string "https://api.openai.com/v1"
frequencyPenalty number 0
maxTokens number -1
responseFormat options "text" text, json_object
responseFormat options "text" text, json_object
textFormat fixedCollection {...} groups: textOptions
presencePenalty number 0
temperature number 0.7
reasoningEffort options "medium" low, medium, high
timeout number 60000
maxRetries number 2
topP number 1
conversationId string ""
promptCacheKey string ""
safetyIdentifier string ""
serviceTier options "auto" auto, flex, default, priority
metadata json "{}"
topLogprobs number 0
promptConfig fixedCollection {...} groups: promptOptions

Example

NODE "lmChatOpenAi" @open AS "Lm Chat Open Ai"