ChatCompletionsOptions.NucleusSamplingFactor 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.
An alternative to sampling with temperature called nucleus sampling. This value causes the model to consider the results of tokens with the provided probability mass. As an example, a value of 0.15 will cause only the tokens comprising the top 15% of probability mass to be considered. 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? NucleusSamplingFactor { get; set; }
member this.NucleusSamplingFactor : Nullable<single> with get, set
Public Property NucleusSamplingFactor As Nullable(Of Single)
Property Value
Applies to
Azure SDK for .NET