Back to Devexpress

ChatMessageRole Enum

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-12b79b80.md

latest1.0 KB
Original Source

ChatMessageRole Enum

Lists values that specify the role of the message owner.

Namespace : DevExpress.AIIntegration.Blazor.Chat

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

NuGet Package : DevExpress.AIIntegration.Blazor.Chat

Declaration

csharp
public enum ChatMessageRole

Members

NameDescription
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.

|

The following properties accept/return ChatMessageRole values:

See Also

DevExpress.AIIntegration.Blazor.Chat Namespace