类 OllamaResponse

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

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

    • OllamaResponse

      public OllamaResponse()
  • 方法详细资料

    • getError

      public String getError()
    • setError

      public void setError(String error)
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • getMessage

      public OllamaMessage getMessage()
    • setMessage

      public void setMessage(OllamaMessage message)
    • getDone

      public Boolean getDone()
    • setDone

      public void setDone(Boolean done)
    • 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)
    • getPromptEvalDuration

      public Long getPromptEvalDuration()
    • setPromptEvalDuration

      public void setPromptEvalDuration(Long promptEvalDuration)
    • getEvalCount

      public Integer getEvalCount()
    • setEvalCount

      public void setEvalCount(Integer evalCount)
    • getEvalDuration

      public Long getEvalDuration()
    • setEvalDuration

      public void setEvalDuration(Long evalDuration)
    • getDoneReason

      public String getDoneReason()
    • setDoneReason

      public void setDoneReason(String doneReason)