All Classes and Interfaces

Class
Description
 
 
 
 
 
 
 
 
 
 
 
 
The base Ollama API class.
 
 
Specialization class for requests
Defines a single Message to be used inside a chat request against the ollama /api/chat endpoint.
Defines the possible Chat Message roles.
Helper class for creating OllamaChatRequestModel objects using the builder-pattern.
Defines a Request to use against the ollama /api/chat endpoint.
 
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.
 
 
 
 
 
Abstract helperclass to call the ollama api server.
 
 
Helper class for creating OllamaGenerateRequestModel objects using the builder-pattern.
 
 
 
A class to provide constants for all the supported models by Ollama.
Interface to represent a OllamaRequest as HTTP-Request Body via HttpRequest.BodyPublishers.
The type Ollama result.
 
Class for options for Ollama model.
Builder class for creating options for Ollama model.
The PromptBuilder class is used to construct prompt texts for language models (LLMs).