Skip to main content
All docs
V24.2

DxAIChat.Temperature Property

Specifies the response text randomness.

Namespace: DevExpress.AIIntegration.Blazor.Chat

Assembly: DevExpress.AIIntegration.Blazor.Chat.v24.2.dll

NuGet Package: DevExpress.AIIntegration.Blazor.Chat

Declaration

[Parameter]
public float? Temperature { get; set; }

Property Value

Type Description
Nullable<Single>

The temperature. Limits are determined by the AI service.

Remarks

Use the Temperature property to specify the randomness of response text. Higher values result in a more random output, while lower values make the output more focused and deterministic.

<DxAIChat Temperature="0.7f" />
See Also