Class OllamaChatResult

java.lang.Object
io.github.amithkoujalgi.ollama4j.core.models.OllamaResult
io.github.amithkoujalgi.ollama4j.core.models.chat.OllamaChatResult

public class OllamaChatResult extends OllamaResult
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 Details

    • OllamaChatResult

      public OllamaChatResult(String response, long responseTime, int httpStatusCode, List<OllamaChatMessage> chatHistory)
  • Method Details