Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
io.github.ollama4j.utils.OllamaRequestBody Interface Reference
Inheritance diagram for io.github.ollama4j.utils.OllamaRequestBody:
io.github.ollama4j.models.chat.OllamaChatRequest io.github.ollama4j.models.generate.OllamaGenerateRequest

Public Member Functions

default BodyPublisher getBodyPublisher ()
 

Detailed Description

Interface to represent a OllamaRequest as HTTP-Request Body via BodyPublishers.

Definition at line 12 of file OllamaRequestBody.java.

Member Function Documentation

◆ getBodyPublisher()

default BodyPublisher io.github.ollama4j.utils.OllamaRequestBody.getBodyPublisher ( )

Transforms the OllamaRequest Object to a JSON Object via Jackson.

Returns
JSON representation of a OllamaRequest

Definition at line 20 of file OllamaRequestBody.java.


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