You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2025/08/05 10:45:08 UTC
[I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
jamesnetherton opened a new issue, #7587:
URL: https://github.com/apache/camel-quarkus/issues/7587
One of the challenges we face is to ensure we have consistent UX when users start prototyping with UI designers like Kaoto / Camel JBang and then export their apps to the chosen runtime.
This becomes difficult if the runtime enforces additional requirements and constraints on top of the vanilla Camel component UX. E.g requiring additional runtime specific configuration properties, CDI beans, dependencies etc.
Therefore, it may be desirable to stop depending on `quarkus-langchain4j` and just use the Camel component functionality as-is so that the UX stays identical across all runtimes.
Some things to consider:
* We'd have to implement native support
* We loose some build time optimisations
* We need to ensure we stay compatible with the LangChain4j version used in the Quarkus Platform (this is an existing concern TBH)
* We'd probably have to deprecate / remove `camel-quarkus-langchain4j`. See https://github.com/apache/camel-quarkus/issues/7586.
I can do some initial investigation into how difficult it is to remove `quarkus-langchain4j` and restore native mode support.
We should try to make a decision on whether we want to go ahead with this change before the 3.27.0 LTS. Maybe even for 3.26.0 but I'm not sure there's time...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7587:
URL: https://github.com/apache/camel-quarkus/issues/7587#issuecomment-3199955366
> What would be the plan for the [data extraction example](https://github.com/apache/camel-quarkus-examples/tree/main/data-extract-langchain4j)
I was thinking about that...
I was hoping that after I add https://github.com/apache/camel-quarkus/issues/7568, we could maybe leverage it in that example project and replace the existing usage of Quarkus LangChain4j.
That'll be for 3.27.0. I was planning the first step as deprecating `camel-quarkus-langchain4j` in 3.26.0. Then after the release merge #7592 and work on adapting the data extract example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7587:
URL: https://github.com/apache/camel-quarkus/issues/7587#issuecomment-3154679874
/CC @orpiske @zbendhiba @aldettinger
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7587:
URL: https://github.com/apache/camel-quarkus/issues/7587#issuecomment-3163445965
I put together a POC PR https://github.com/apache/camel-quarkus/pull/7592.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
Posted by "aldettinger (via GitHub)" <gi...@apache.org>.
aldettinger commented on issue #7587:
URL: https://github.com/apache/camel-quarkus/issues/7587#issuecomment-3199936836
@jamesnetherton What would be the plan for the [data extraction example](https://github.com/apache/camel-quarkus-examples/tree/main/data-extract-langchain4j) then ? Does it need to use one of the existing camel components ? Or use something new that will be created ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
Posted by "orpiske (via GitHub)" <gi...@apache.org>.
orpiske commented on issue #7587:
URL: https://github.com/apache/camel-quarkus/issues/7587#issuecomment-3163498651
Thanks @jamesnetherton. I have been thinking about this (with the bean library in mind) and I am under the impression this would make it easier to leverage the bean library.
There are some things I'm considering proposing for it, such as handling prompts, model configuration, etc ... that I _feel_ like would be easier to do if we stick purely with the `camel-langchain4j-*` components.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Consider removing quarkus-langchain4j usage from LangChain4j extensions [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7587: Consider removing quarkus-langchain4j usage from LangChain4j extensions
URL: https://github.com/apache/camel-quarkus/issues/7587
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org