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

    Returns a message from the AI provider.

    Namespace: DevExpress.AIIntegration.Blazor.Chat

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

    NuGet Package: DevExpress.AIIntegration.Blazor.Chat

    Declaration

    public BlazorChatMessage Message { get; }

    Property Value

    Type Description
    BlazorChatMessage

    Message details.

    Remarks

    Use the Message property to access and modify the AI provider’s response.

    <DxAIChat ResponseReceived="OnResponseReceived" />
    
    @code {
        private void OnResponseReceived(ResponseReceivedEventArgs args) {
            File.AppendAllLines("chatlog.txt", new[] { args.Message.Content });
        }
    }
    
    See Also