Skip to content
On this page

<<EasyGPT>>.advanced.setFrequencyPenalty()

Influence the likelihood of ChatGPT repeating itself.

Usage

js
instance.advanced.setFrequencyPenalty(0.8);

Parameters

PARAMETERTYPEDefaultDESCRIPTION
presencePenaltyNumberN/APositive values decrease the likelihood of ChatGPT repeating itself.

Negative values increase the likelihood of ChatGPT repeating itself.

Value must be between -2 and 2.

Returns

EasyGPT instance (<<EasyGPT>>)