Skip to content

Lm Chat X Ai Grok

Node: lmChatXAiGrok · Full type: @n8n/n8n-nodes-langchain.lmChatXAiGrok · Version: 1

Credentials

xAiApi (alias: @xai)

CREDENTIAL @xai = xAiApi "My Lm Chat X Ai Grok"

Parameters

Parameter Type Default Details
model options "grok-2-vision-1212"
options collection {} keys: frequencyPenalty, maxTokens, responseFormat, presencePenalty, temperature, timeout, ...

options children:

Parameter Type Default Details
frequencyPenalty number 0
maxTokens number -1
responseFormat options "text" text, json_object
presencePenalty number 0
temperature number 0.7
timeout number 360000
maxRetries number 2
topP number 1

Example

NODE "lmChatXAiGrok" @xai AS "Lm Chat X Ai Grok"