Class OllamaEmbedResponse.OfDouble
java.lang.Object
io.intino.alexandria.ollama.responses.OllamaResponse
io.intino.alexandria.ollama.responses.OllamaEmbedResponse<double[]>
io.intino.alexandria.ollama.responses.OllamaEmbedResponse.OfDouble
- All Implemented Interfaces:
Serializable,Iterable<double[]>
- Enclosing class:
OllamaEmbedResponse<T>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.intino.alexandria.ollama.responses.OllamaEmbedResponse
OllamaEmbedResponse.OfDouble, OllamaEmbedResponse.OfFloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]embeddings(double[][] embeddings) Iterator<double[]> iterator()Methods inherited from class io.intino.alexandria.ollama.responses.OllamaEmbedResponse
loadDuration, loadDuration, model, promptEvalCount, promptEvalCount, totalDuration, totalDurationMethods inherited from class io.intino.alexandria.ollama.responses.OllamaResponse
fromJson, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
OfDouble
public OfDouble()
-
-
Method Details
-
model
- Overrides:
modelin classOllamaEmbedResponse<double[]>
-
embeddings
public double[][] embeddings()- Specified by:
embeddingsin classOllamaEmbedResponse<double[]>
-
embeddingsAsLists
-
embeddings
- Specified by:
embeddingsin classOllamaEmbedResponse<double[]>
-
iterator
-