Open sdaschner opened 5 months ago
@geoand - Do we support @V ? I don't think so. I guess we just use the name of the parameter.
We do support it
At least it didn't work for me without @V
. I also reasoned that there might be an issue with my build/compilation that it doesn't resolve the param name from the Java signature, so maybe there is a fixable Quarkus issue in that version, not sure...
Do you have <maven.compiler.parameters>true</maven.compiler.parameters>
set?
No, I haven't, good point
That setting is pretty much mandatory for lots of Quarkus extensions :)
Oh but wait, in this repository that param is set, and it still didn't work for me without @V
...
https://github.com/cescoffier/quarkus-llm-workshop/blob/main/triage-application/pom.xml#L21
I will give a try shortly
I could not reproduce the reported issue
When trying out the project (cloning,
mvn quarkus:dev
, however withollama
as backend) I ran into the following error:It worked when I added the
@V
annotation from langchain4j to the param. Not sure if that is intented but that solved it for me: