CompletionsOptions.Temperature Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the sampling temperature to use that controls the apparent creativity of generated completions. Has a valid range of 0.0 to 2.0 and defaults to 1.0 if not otherwise specified.
public float? Temperature { get; set; }
member this.Temperature : Nullable<single> with get, set
Public Property Temperature As Nullable(Of Single)
Property Value
Remarks
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 NucleusSamplingFactor for the same completions request as the interaction of these two settings is difficult to predict.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for