![]() |
Ollama4j
A Java library (wrapper/binding) for Ollama server.
|
Public Member Functions | |
| OllamaChatResult (OllamaChatResponseModel responseModel, List< OllamaChatMessage > chatHistory) | |
| String | toString () |
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.
Definition at line 22 of file OllamaChatResult.java.
| io.github.ollama4j.models.chat.OllamaChatResult.OllamaChatResult | ( | OllamaChatResponseModel | responseModel, |
| List< OllamaChatMessage > | chatHistory ) |
Definition at line 28 of file OllamaChatResult.java.
| String io.github.ollama4j.models.chat.OllamaChatResult.toString | ( | ) |
Definition at line 40 of file OllamaChatResult.java.