Class OllamaChatResult
java.lang.Object
io.github.amithkoujalgi.ollama4j.core.models.OllamaResult
io.github.amithkoujalgi.ollama4j.core.models.chat.OllamaChatResult
Specific chat-API result that contains the chat history sent to the model and appends the answer as
OllamaChatResult
given by the
OllamaChatMessageRole.ASSISTANT
role.-
Constructor Summary
ConstructorsConstructorDescriptionOllamaChatResult
(String response, long responseTime, int httpStatusCode, List<OllamaChatMessage> chatHistory) -
Method Summary
Methods inherited from class io.github.amithkoujalgi.ollama4j.core.models.OllamaResult
toString
-
Constructor Details
-
OllamaChatResult
public OllamaChatResult(String response, long responseTime, int httpStatusCode, List<OllamaChatMessage> chatHistory)
-
-
Method Details
-
getChatHistory
-