presencePenalty property

  1. @JsonKey(name: "presence_penalty")
int? presencePenalty
getter/setter pair

Number 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.

Implementation

@JsonKey(name: "presence_penalty")
int? presencePenalty;