Open Dev Kit Documentation :: Open AI :: AI Completion Options :: Presence Penalty
OpenAI.AICompletionOptions.PresencePenaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
Type
Lua Usage
-- Get local float = aICompletionOptions.PresencePenalty -- Set aICompletionOptions.PresencePenalty = float
If you think anything is missing, please feel free to: submit documentation feedback on this page
