http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-ai-lmstudio
/
org.http4k.connect.lmstudio.action
/
Message
Message
@
JsonSerializable
data
class
Message
(
val
role
:
Role
?
,
val
content
:
List
<
MessageContent
>
?
=
null
,
val
name
:
User
?
=
null
,
val
refusal
:
String
?
=
null
,
val
tool_calls
:
List
<
ToolCall
>
?
=
null
)
(
source
)
Members
Constructors
Message
Link copied to clipboard
constructor
(
role
:
Role
?
,
content
:
List
<
MessageContent
>
?
=
null
,
name
:
User
?
=
null
,
refusal
:
String
?
=
null
,
tool_calls
:
List
<
ToolCall
>
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
content
Link copied to clipboard
val
content
:
List
<
MessageContent
>
?
name
Link copied to clipboard
val
name
:
User
?
refusal
Link copied to clipboard
val
refusal
:
String
?
role
Link copied to clipboard
val
role
:
Role
?
tool_
calls
Link copied to clipboard
val
tool_calls
:
List
<
ToolCall
>
?