blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-dxaichat-1bb93f19.md
Specifies whether a response should be sent as a stream.
Namespace : DevExpress.AIIntegration.Blazor.Chat
Assembly : DevExpress.AIIntegration.Blazor.Chat.v25.2.dll
NuGet Package : DevExpress.AIIntegration.Blazor.Chat
[Parameter]
public bool UseStreaming { get; set; }
| Type | Description |
|---|---|
| Boolean |
true to stream the response; false to generate the entire response before sending it back.
|
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" />
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