toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-ai-ollama
/
org.http4k.connect.ollama
Package-level
declarations
Types
Functions
Types
Message
Link copied to clipboard
@
JsonSerializable
data
class
Message
(
val
role
:
Role
,
val
content
:
String
,
val
images
:
List
<
Base64Blob
>
?
=
null
)
Ollama
Link copied to clipboard
interface
Ollama
Docs: https://github.com/ollama/ollama/blob/main/docs/api.md
Ollama
Action
Link copied to clipboard
interface
OllamaAction
<
R
>
:
Action
<
Result
<
R
,
RemoteFailure
>
>
Ollama
Json
Adapter
Factory
Link copied to clipboard
@
KotshiJsonAdapterFactory
object
OllamaJsonAdapterFactory
:
JsonAdapter.Factory
Ollama
Moshi
Link copied to clipboard
object
OllamaMoshi
:
ConfigurableMoshi
Prompt
Link copied to clipboard
class
Prompt
:
AbstractValue
<
String
>
Response
Format
Link copied to clipboard
enum
ResponseFormat
:
Enum
<
ResponseFormat
>
System
Message
Link copied to clipboard
class
SystemMessage
:
AbstractValue
<
String
>
Template
Link copied to clipboard
class
Template
:
AbstractValue
<
String
>
Functions
Http
Link copied to clipboard
fun
Ollama.Companion
.
Http
(
http
:
HttpHandler
=
JavaHttpClient()
)
:
Ollama