Skip to content

OpenAI.Request.FrequencyPenalty

Andrew Lambert edited this page Feb 9, 2023 · 2 revisions

OpenAI.Request.FrequencyPenalty

Property declaration

 Dim FrequencyPenalty As Single

Remarks

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.

Clone this wiki locally