Open duchamk opened 4 months ago
Thanks for reporting!
Do you want to provide a PR?
OK.
🙏
Sorry, I just looked at this more closely and I was wrong to propose adding the constructor.
The error comes from JSONB, which should not be used at all. What extensions are you using in the application?
I use quarkus-rest-client-jsonb and quarkus-rest-jsonb to communicate with other modules. After removing quarkus-rest-client-jsonb and quarkus-rest-jsonb the error doesn't appear. This means that can't use JSON-B if use quarkus-langchain4j.
This means that can't use JSON-B if use quarkus-langchain4j.
It means that we have to make sure in this module that nothing changes whether or not JSONB exists on the classpath or not :).
I'll have a look soon
The qdrant database is probably not running.
When trying to do embedding on ollama like in the code below:
I get the answer:
The problem occurs in version 0.14.1.
After adding the constructor in the EmbeddingResponse.java file in quarkus-langchain4j-ollama :
Works correctly :