B4J Question [PND_Ollama4j] Update II

johnmie

Active Member
Licensed User
Longtime User
I was trying to get my feet wet with AI and found Pendrush's Pnd_Ollama4j - Your local offline LLM like ChatGPT in this forum a promising approach.
All enthusiastic I downloaded the Ollama4jExampes.zip , installed Ollama server and even found the Pnd_Ollama4j library on GitHub.
But the *.b4j did not work at all. Thanks to the posted exchange between @Pendrush and @jmon at least I was able to start the project (Ollama1).

The first thing I saw was this message. This module is from a newer version and it may run improperly and followed by this error message under getModels:

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "remote_model" (class io.github.ollama4j.models.response.Model), not marked as ignorable (7 known properties: "size", "details", "digest", "model", "name", "expires_at", "modified_at"])
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 80] (through reference chain: io.github.ollama4j.models.response.ListModelsResponse["models"]->java.util.ArrayList[0]->io.github.ollama4j.models.response.Model["remote_model"])


This goes way beyond my programming skills an I wonder if A) an newer version of [PND_Ollama4j] is available or B) if someone could help me to get this thing running?
Thank you very much in advance for all your help.
johnmie
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…