ComfyUI Node
OpenAI API - Frequency Penalty
Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
OpenAI API - Frequency Penalty
- other_options
- Options
◄frequency_penalty0.0►
CategoryOpenAI API/Options
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| frequency_penalty | FLOAT | 0.0-2–2 | Number between -2.0 and 2.0 |
| other_optionsopt | OAIAPI_OPTIONS | Others options to merge with |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Options | OAIAPI_OPTIONS | Merged options to forward |