quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
148 stars 89 forks source link

Register all models from configuration as beans regardless of the existance of injection point #1061

Closed manovotn closed 2 weeks ago

manovotn commented 2 weeks ago

Just a draft to show how to enable injection even for models that do not have explicit injection points.

geoand commented 2 weeks ago

Thanks I'll have a look!

geoand commented 2 weeks ago

Ah, now I see what this does. I was under the impression that it was doing something more expansive, but what it does makes perfect sense

geoand commented 2 weeks ago

@manovotn whenever you think the PR is ready, please mark it as such

manovotn commented 2 weeks ago

I've expanded the tests and fixed another bug that was causing @Inject Instance<T> to be treated as default model