ChatCompletionCommonModelParameters.PresencePenalty Property

Definition

A float in the range [-2,2] that penalizes new tokens based on their existing presence. Default is 0.

public double? PresencePenalty { get; set; }
member this.PresencePenalty : Nullable<double> with get, set
Public Property PresencePenalty As Nullable(Of Double)

Property Value

Applies to