Skip navigation links
C D G M O 

C

chat(String, List<Message>) - Method in class dev.nozyx.ollama4j.OllamaClient
Sends a chat request to the Ollama API and returns the response.
chat(String, List<Message>, float) - Method in class dev.nozyx.ollama4j.OllamaClient
Sends a chat request to the Ollama API with a specified temperature and returns the response.

D

dev.nozyx.ollama4j - package dev.nozyx.ollama4j
 

G

getContent() - Method in class dev.nozyx.ollama4j.Message
Gets the content of the message.
getImages() - Method in class dev.nozyx.ollama4j.Message
Gets the list of images associated with the message.
getRole() - Method in class dev.nozyx.ollama4j.Message
Gets the role of the message sender.

M

Message - Class in dev.nozyx.ollama4j
Represents a message exchanged between a user and the API.
Message(String, String) - Constructor for class dev.nozyx.ollama4j.Message
Constructs a message with a specified role and content, with no images.
Message(String, String, List<BufferedImage>) - Constructor for class dev.nozyx.ollama4j.Message
Constructs a message with a specified role, content, and a list of images.

O

OllamaClient - Class in dev.nozyx.ollama4j
Client for interacting with the Ollama API, allowing for chat exchanges with models.
OllamaClient() - Constructor for class dev.nozyx.ollama4j.OllamaClient
Constructs a client with the default host IP (127.0.0.1) and port (11434).
OllamaClient(String, int) - Constructor for class dev.nozyx.ollama4j.OllamaClient
Constructs a client with a specified host IP and port.
C D G M O 
Skip navigation links