MessageRole
Enum
Defines the possible roles a message sender can have within an AI conversation.
Definition
Fields
Represents a message from the AI assistant.
C#
Assistant = 1
Represents a system message that provides context or instructions.
C#
System = 0
Represents a message from a tool or external system.
C#
Tool = 3
Represents a message from the user.
C#
User = 2