类 OllamaEmbeddingResponse

java.lang.Object
io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse

public class OllamaEmbeddingResponse extends Object
Ollama embedding response DTO. Represents the response from the Ollama embedding API.
  • 构造器详细资料

    • OllamaEmbeddingResponse

      public OllamaEmbeddingResponse()
  • 方法详细资料

    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getEmbeddings

      public List<float[]> getEmbeddings()
    • setEmbeddings

      public void setEmbeddings(List<float[]> embeddings)
    • getTotalDuration

      public Long getTotalDuration()
    • setTotalDuration

      public void setTotalDuration(Long totalDuration)
    • getLoadDuration

      public Long getLoadDuration()
    • setLoadDuration

      public void setLoadDuration(Long loadDuration)
    • getPromptEvalCount

      public Integer getPromptEvalCount()
    • setPromptEvalCount

      public void setPromptEvalCount(Integer promptEvalCount)