Skip to main content
All docs
V25.2
  • ResponseReceivedEventArgs.Chat Property

    Returns an AI Chat object instance.

    Namespace: DevExpress.AIIntegration.Blazor.Chat

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

    NuGet Package: DevExpress.AIIntegration.Blazor.Chat

    Declaration

    public IAIChat Chat { get; }

    Property Value

    Type Description
    IAIChat

    An object that implements the IAIChat interface.

    Remarks

    Use the Chat property to access the DxAIChat component’s methods.

    <DxAIChat ResponseReceived="OnResponseReceived" />
    
    @code {
        private void OnResponseReceived(ResponseReceivedEventArgs args) {
            var messageHistory = args.Chat.SaveMessages();
        }
    }
    
    See Also