Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
[Parameter]
public bool UseStreaming { get; set; }

#Property Value

Type Description
Boolean

true to stream the response; false to generate the entire response before sending it back.

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

razor
<DxAIChat UseStreaming="true" />

Run Demo: AI Chat - Overview
View Example: AI Chat for Blazor - How to add DxAIChat component in Blazor, MAUI, WPF, and WinForms applications

See Also