koog-agents
Toggle table of contents
0.1.0
common
Platform filter
common
Switch theme
Search in API
koog-agents
prompt-executor-ollama-client
/
ai.koog.prompt.executor.ollama.client.dto
/
OllamaChatMessageDTO
Ollama
Chat
Message
DTO
@
Serializable
data
class
OllamaChatMessageDTO
(
val
role
:
String
,
val
content
:
String
,
val
images
:
List
<
String
>
?
=
null
,
val
toolCalls
:
List
<
OllamaToolCallDTO
>
?
=
null
)
(
source
)
Message for the chat API.
Members
Constructors
Ollama
Chat
Message
DTO
Link copied to clipboard
constructor
(
role
:
String
,
content
:
String
,
images
:
List
<
String
>
?
=
null
,
toolCalls
:
List
<
OllamaToolCallDTO
>
?
=
null
)
Properties
content
Link copied to clipboard
val
content
:
String
images
Link copied to clipboard
val
images
:
List
<
String
>
?
=
null
role
Link copied to clipboard
val
role
:
String
tool
Calls
Link copied to clipboard
@
SerialName
(
value
=
"tool_calls"
)
val
toolCalls
:
List
<
OllamaToolCallDTO
>
?
=
null