Skip to main content
All docs
V26.1
  • AIChatControl.UseStreaming Property

    Gets or sets a value indicating whether a response should be sent as a stream.

    Namespace: DevExpress.AIIntegration.Wpf.Chat

    Assembly: DevExpress.AIIntegration.Wpf.Chat.v26.1.dll

    NuGet Package: DevExpress.AIIntegration.Wpf.Chat

    Declaration

    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

    The AI Chat Control can display responses from the AI assistant as they are generated in a natural, conversational flow (rather than waiting for the entire message to complete before showing it to the user). Enable the UseStreaming setting to activate this feature:

    <dxaichat:AIChatControl
        x:Name="aiChatControl"
        UseStreaming="True"
        HorizontalAlignment="Stretch" 
        VerticalAlignment="Stretch" 
        Margin="10">
    </dxaichat:AIChatControl>
    

    Play the following animation to see the result:

    Streaming - AI Chat Control for WPF, DevExpress

    Refer to the following help topic for additional information: AI Chat Control

    See Also