Definition at line 25 of file Utils.java.
◆ getFileFromClasspath()
static File io.github.ollama4j.utils.Utils.getFileFromClasspath |
( |
String | fileName | ) |
|
|
static |
◆ getObjectMapper()
static ObjectMapper io.github.ollama4j.utils.Utils.getObjectMapper |
( |
| ) |
|
|
static |
◆ loadImageBytesFromUrl()
static byte[] io.github.ollama4j.utils.Utils.loadImageBytesFromUrl |
( |
String | imageUrl, |
|
|
int | connectTimeoutSeconds, |
|
|
int | readTimeoutSeconds ) throws IOException, InterruptedException |
|
static |
◆ toJSON()
static String io.github.ollama4j.utils.Utils.toJSON |
( |
Object | object | ) |
throws JsonProcessingException |
|
static |
The documentation for this class was generated from the following file: