toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.chat
/
SystemMessage
System
Message
class
SystemMessage
constructor
(
val
content
:
String
,
val
timestamp
:
Instant
=
Instant.now()
)
:
Message
Members
Members & Extensions
Constructors
System
Message
Link copied to clipboard
constructor
(
content
:
String
,
timestamp
:
Instant
=
Instant.now()
)
Properties
content
Link copied to clipboard
open
override
val
content
:
String
name
Link copied to clipboard
val
name
:
String
?
=
null
role
Link copied to clipboard
val
role
:
Role
sender
Link copied to clipboard
val
sender
:
String
timestamp
Link copied to clipboard
open
override
val
timestamp
:
Instant
Functions
to
Spring
Ai
Message
Link copied to clipboard
fun
Message
.
toSpringAiMessage
(
)
:
<Error class: unknown class>
Convert one of our messages to a Spring AI message.