MessageRole
Namespace: Wisej.AI
Assembly: Wisej.AI
Represents the role of a message within a smart session context.
- C#
- VB.NET
public enum MessageRole : Enum
Public Enum MessageRole As [Enum]
Fields
| Name | Description |
|---|---|
| Assistant | Indicates that the message is from an assistant. |
| System | Indicates that the message is from the system. |
| ToolCalls | Indicates that the message involves tool calls. |
| ToolResults | Indicates that the message contains tool results. |
| User | Indicates that the message is from a user. |
Used By
| Name | Description |
|---|---|
| MessageCollection.Add | Adds a message with the specified role and content. |
| Message.Role | Gets or sets the role associated with the message. |