Skip to main content
All docs
V25.1
  • ChatMessageRole Enum

    Lists values that specify the role of the message owner.

    Namespace: DevExpress.AIIntegration.Blazor.Chat

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

    NuGet Package: DevExpress.AIIntegration.Blazor.Chat

    Declaration

    public enum ChatMessageRole

    Members

    Name Description
    User

    Indicates that the message is sent by a user.

    Assistant

    Indicates that the message is generated by the assistant.

    System

    Indicates that the message is sent by the system.

    Error

    Indicates the error message.

    Related API Members

    The following properties accept/return ChatMessageRole values:

    See Also