-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedding Ollama problem - No default constructor found #611
Comments
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. |
I use quarkus-rest-client-jsonb and quarkus-rest-jsonb to communicate with other modules. |
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 :
The text was updated successfully, but these errors were encountered: