语言

ChatOptions.Temperature 属性

定义

获取或设置用于生成聊天响应的温度。

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

属性值

注解

此值控制模型进行的预测的随机性。 使用较低的值来减少响应中的随机性。

适用于