Back to Devexpress

DxAIChat.Temperature Property

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-dxaichat-04306b7d.md

latest1.2 KB
Original Source

DxAIChat.Temperature Property

Specifies the response text randomness.

Namespace : DevExpress.AIIntegration.Blazor.Chat

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

NuGet Package : DevExpress.AIIntegration.Blazor.Chat

Declaration

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

Property Value

TypeDescription
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.

razor
<DxAIChat Temperature="0.7f" />

See Also

DxAIChat Class

DxAIChat Members

DevExpress.AIIntegration.Blazor.Chat Namespace