presencePenalty

val presencePenalty: Double? = null

Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from -2.0, 2.0.