ComfyUI Node Runs on cloud
OpenAI ChatGPT Advanced Options
Allows specifying advanced configuration options for the OpenAI Chat Nodes.
OpenAI ChatGPT Advanced Options
- OPENAI_CHAT_CONFIG
◄truncationauto►
◄max_output_tokens4096►
◄instructions—►
Categorypartner/text/OpenAI
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| truncation | COMBO | auto | The 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_tokensopt | INT | 409616–16384 | An upper bound for the number of tokens that can be generated for a response, including visible output tokens |
| instructionsopt | STRING | Instructions for the model on how to generate the response |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| OPENAI_CHAT_CONFIG | OPENAI_CHAT_CONFIG | — |