Documentation

Frequency Penalty - Open Dev Kit Documentation

Open Dev Kit Documentation :: Open AI :: AI Completion Options :: Frequency Penalty

OpenAI.AICompletionOptions.FrequencyPenalty
Number between -2.0 and 2.0. 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.

Type

Float

If you think anything is missing, please feel free to: submit documentation feedback on this page