Skip to main content
The OpenAIChatConfig node allows setting additional configuration options for the OpenAI Chat Node. It provides advanced settings that control how the model generates responses, including truncation behavior, output length limits, and custom instructions.

Inputs

ParameterDescriptionData TypeRequiredRange
truncationThe truncation strategy to use for the model response. auto: If the context of this response and previous ones exceeds the model’s context window size, the model will truncate the response to fit the context window by dropping input items in the middle of the conversation. disabled: If a model response will exceed the context window size for a model, the request will fail with a 400 error (default: “auto”)COMBOYes"auto"
"disabled"
max_output_tokensAn upper bound for the number of tokens that can be generated for a response, including visible output tokens (default: 4096)INTNo16 to 16384
instructionsInstructions for the model on how to generate the response (multiline input supported)STRINGNo-

Outputs

Output NameDescriptionData Type
OPENAI_CHAT_CONFIGConfiguration object containing the specified settings for use with OpenAI Chat NodesOPENAI_CHAT_CONFIG
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): f9ae6d3b2818ea37543156c2f209fc4d093e40e446907deb4be327ca0c9d70e1