你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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