SmartSession.MessageRole
Wisej.AI.SmartSession MessageRole
Last updated
Wisej.AI.SmartSession MessageRole
Last updated
Namespace: Wisej.AI
Assembly: Wisej.AI (3.5.0.0)
Represents the role of a message within a smart session context.
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.
Adds a message with the specified role and content.
Gets or sets the role associated with the message.