Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChatMessageRole Enum

Lists values that specify the role of the message owner.

Namespace: DevExpress.AIIntegration.Blazor.Chat

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

NuGet Package: DevExpress.AIIntegration.Blazor.Chat

#Declaration

C#
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