All Classes and Interfaces
Class
Description
The
Agent class represents an AI assistant capable of interacting with the Ollama API
server.Bean describing an agent as definable from YAML.
The main API class for interacting with the Ollama server.
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.
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.Builder class to easily create Requests for Embedding models using ollama.
Abstract helper class to call the ollama api server.
Interface to represent a OllamaRequest as HTTP-Request Body via
HttpRequest.BodyPublishers.The type Ollama result.
Annotation to mark a class as an Ollama tool service.
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).Specification of a
ToolFunction that provides the implementation via java reflection calling.Annotates a Method Parameter in a
ToolSpec annotated Method.Annotation to mark a method as a tool that can be registered automatically by
registerAnnotatedTools().