类 OllamaResponse
java.lang.Object
io.agentscope.core.formatter.ollama.dto.OllamaResponse
Ollama chat response DTO.
Represents the response from the Ollama chat API.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getDone()getError()getModel()voidsetCreatedAt(String createdAt) voidvoidsetDoneReason(String doneReason) voidvoidsetEvalCount(Integer evalCount) voidsetEvalDuration(Long evalDuration) voidsetLoadDuration(Long loadDuration) voidsetMessage(OllamaMessage message) voidvoidsetPromptEvalCount(Integer promptEvalCount) voidsetPromptEvalDuration(Long promptEvalDuration) voidsetTotalDuration(Long totalDuration)
-
构造器详细资料
-
OllamaResponse
public OllamaResponse()
-
-
方法详细资料
-
getError
-
setError
-
getModel
-
setModel
-
getCreatedAt
-
setCreatedAt
-
getMessage
-
setMessage
-
getDone
-
setDone
-
getTotalDuration
-
setTotalDuration
-
getLoadDuration
-
setLoadDuration
-
getPromptEvalCount
-
setPromptEvalCount
-
getPromptEvalDuration
-
setPromptEvalDuration
-
getEvalCount
-
setEvalCount
-
getEvalDuration
-
setEvalDuration
-
getDoneReason
-
setDoneReason
-