Table of Contents

Class SystemMessage

Namespace
Glitch9.AIDevKit
public class SystemMessage : Message, IPromptWithFiles, IPrompt, IModeratable
Inheritance
object
SystemMessage
Implements
Inherited Members
Extension Methods

Constructors

SystemMessage()

public SystemMessage()

SystemMessage(MessageContent)

public SystemMessage(MessageContent content)

Parameters

content MessageContent

Properties

Role

The role of the messages author.

Role is abstract and overridden in derived classes to enforce consistency.
This avoids relying on constructor or deserialization logic to set the role.
JSON.NET does not call parameterized constructors or set get-only properties during deserialization.

public override ChatRole Role { get; }

Property Value

ChatRole

Operators

implicit operator string(SystemMessage)

public static implicit operator string(SystemMessage message)

Parameters

message SystemMessage

Returns

string