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

Static Public Member Functions

static ObjectMapper getObjectMapper ()
 
static byte[] loadImageBytesFromUrl (String imageUrl) throws IOException, URISyntaxException
 
static File getFileFromClasspath (String fileName)
 

Detailed Description

Definition at line 15 of file Utils.java.

Member Function Documentation

◆ getFileFromClasspath()

static File io.github.ollama4j.utils.Utils.getFileFromClasspath ( String fileName)
static

Definition at line 41 of file Utils.java.

◆ getObjectMapper()

static ObjectMapper io.github.ollama4j.utils.Utils.getObjectMapper ( )
static

Definition at line 19 of file Utils.java.

◆ loadImageBytesFromUrl()

static byte[] io.github.ollama4j.utils.Utils.loadImageBytesFromUrl ( String imageUrl) throws IOException, URISyntaxException
static

Definition at line 27 of file Utils.java.


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