Appearance
<<EasyGPT>>.advanced.setFrequencyPenalty()
Influence the likelihood of ChatGPT repeating itself.
Usage
js
instance.advanced.setFrequencyPenalty(0.8);
Parameters
PARAMETER | TYPE | Default | DESCRIPTION |
---|---|---|---|
presencePenalty | Number | N/A | Positive 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>>)