DxAIChat.UseStreaming Property
Specifies whether a response should be sent as a stream.
Namespace: DevExpress.AIIntegration.Blazor.Chat
Assembly: DevExpress.AIIntegration.Blazor.Chat.v24.2.dll
NuGet Package: DevExpress.AIIntegration.Blazor.Chat
Declaration
[Parameter]
public bool UseStreaming { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
After a user sends a request, the AI client generates and sends the entire response back. This operation may take a while, depending on various factors. You can make the chat appear more responsive if you set the UseStreaming
property to true
. In this case, the AI client transmits parts of the response as they become available and the chat component adds those parts to the display message.
<DxAIChat UseStreaming="true" />