Class OllamaEmbeddingResponse
java.lang.Object
io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
Ollama embedding response DTO.
Represents the response from the Ollama embedding API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<float[]>getModel()voidsetEmbeddings(List<float[]> embeddings) voidsetLoadDuration(Long loadDuration) voidvoidsetPromptEvalCount(Integer promptEvalCount) voidsetTotalDuration(Long totalDuration)
-
Constructor Details
-
OllamaEmbeddingResponse
public OllamaEmbeddingResponse()
-
-
Method Details
-
getModel
-
setModel
-
getEmbeddings
-
setEmbeddings
-
getTotalDuration
-
setTotalDuration
-
getLoadDuration
-
setLoadDuration
-
getPromptEvalCount
-
setPromptEvalCount
-