Skip to content

core / Exports / SystemMessage

Interface: SystemMessage

System message interface - for system instructions and prompts

Hierarchy

Table of contents

Properties

Properties

timestamp

timestamp: Date

Message creation timestamp

Inherited from

BaseMessage.timestamp

Defined in

conversation-history.ts:17


metadata

Optional metadata: Record<string, any>

Additional metadata

Inherited from

BaseMessage.metadata

Defined in

conversation-history.ts:20


role

role: "system"

Message role - always 'system'

Defined in

conversation-history.ts:72


content

content: string

System instruction content

Defined in

conversation-history.ts:75


name

Optional name: string

Optional system message identifier

Defined in

conversation-history.ts:78

Released under the MIT License.