core / Exports / SystemMessage
Interface: SystemMessage
System message interface - for system instructions and prompts
Hierarchy
↳
SystemMessage
Table of contents
Properties
Properties
timestamp
• timestamp: Date
Message creation timestamp
Inherited from
Defined in
metadata
• Optional
metadata: Record
<string
, any
>
Additional metadata
Inherited from
Defined in
role
• role: "system"
Message role - always 'system'
Defined in
content
• content: string
System instruction content
Defined in
name
• Optional
name: string
Optional system message identifier