Share via


ChatCompletionsOptions.Temperature Property

Definition

The sampling temperature to use that controls the apparent creativity of generated completions. Higher values will make output more random while lower values will make results more focused and deterministic. It is not recommended to modify temperature and top_p for the same completions request as the interaction of these two settings is difficult to predict. Supported range is [0, 1].

public float? Temperature { get; set; }
member this.Temperature : Nullable<single> with get, set
Public Property Temperature As Nullable(Of Single)

Property Value

Applies to