http4k-connect-ai-ollama
Toggle table of contents
6.20.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k-connect-ai-ollama
http4k-connect-ai-ollama
/
org.http4k.connect.ollama
/
createEmbeddings
create
Embeddings
fun
Ollama
.
createEmbeddings
(
model
:
ModelName
,
prompt
:
UserPrompt
,
keep_alive
:
String
?
=
null
,
options
:
ModelOptions
?
=
null
)
:
Result
<
EmbeddingsResponse
,
RemoteFailure
>
(
source
)
See also
Create
Embeddings