Nodes/ComfyUI/OpenAI ChatGPT Advanced Options
ComfyUI Node Runs on cloud

OpenAI ChatGPT Advanced Options

Allows specifying advanced configuration options for the OpenAI Chat Nodes.

By Comfy-Org·Created 4 years ago·Updated 16 days ago· 121,575
OpenAI ChatGPT Advanced Options
    • OPENAI_CHAT_CONFIG
    truncationauto
    max_output_tokens4096
    instructions
    Categorypartner/text/OpenAI

    Inputs (3)

    NameTypeDefaultDescription
    truncationCOMBOautoThe 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
    max_output_tokensoptINT409616–16384An upper bound for the number of tokens that can be generated for a response, including visible output tokens
    instructionsoptSTRINGInstructions for the model on how to generate the response

    Outputs (1)

    NameTypeDescription
    OPENAI_CHAT_CONFIGOPENAI_CHAT_CONFIG