Class Utils
java.lang.Object
io.github.amithkoujalgi.ollama4j.core.utils.Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
static byte[]
loadImageBytesFromUrl
(String imageUrl)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
loadImageBytesFromUrl
- Throws:
IOException
URISyntaxException
-