Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
OllamaEmbedResponseModel.java
Go to the documentation of this file.
1
package
io.github.ollama4j.models.embeddings;
2
3
import
com.fasterxml.jackson.annotation.JsonProperty;
4
import
lombok.Data;
5
6
import
java.util.List;
7
8
@SuppressWarnings(
"unused"
)
9
@Data
10
public
class
OllamaEmbedResponseModel
{
11
@JsonProperty(
"model"
)
12
private
String model;
13
14
@JsonProperty(
"embeddings"
)
15
private
List<List<Double>> embeddings;
16
17
@JsonProperty(
"total_duration"
)
18
private
long
totalDuration;
19
20
@JsonProperty(
"load_duration"
)
21
private
long
loadDuration;
22
23
@JsonProperty(
"prompt_eval_count"
)
24
private
int
promptEvalCount;
25
}
io.github.ollama4j.models.embeddings.OllamaEmbedResponseModel
Definition
OllamaEmbedResponseModel.java:10
src
main
java
io
github
ollama4j
models
embeddings
OllamaEmbedResponseModel.java
Generated by
1.12.0