Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
io.github.ollama4j.models.chat.OllamaChatResult Class Reference

Public Member Functions

 OllamaChatResult (OllamaChatResponseModel responseModel, List< OllamaChatMessage > chatHistory)
 
String toString ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ OllamaChatResult()

io.github.ollama4j.models.chat.OllamaChatResult.OllamaChatResult ( OllamaChatResponseModel responseModel,
List< OllamaChatMessage > chatHistory )

Definition at line 28 of file OllamaChatResult.java.

Member Function Documentation

◆ toString()

String io.github.ollama4j.models.chat.OllamaChatResult.toString ( )

Definition at line 40 of file OllamaChatResult.java.


The documentation for this class was generated from the following file: