SmartSession.MessageRole

Wisej.AI.SmartSession MessageRole

Namespace: Wisej.AI

Assembly: Wisej.AI (3.5.0.0)

Represents the role of a message within a smart session context.

public enum MessageRole : 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

Adds a message with the specified role and content.

Gets or sets the role associated with the message.

Last updated