CompletionCreateRequest.PresencePenalty

CompletionCreateRequest.PresencePenalty property

Gets or sets 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.

public double? PresencePenalty { get; set; }

See Also