From 11c7ebb2f623bfd8fba54d8bf5e41005be84ce0b Mon Sep 17 00:00:00 2001 From: Alexandre Gallice Date: Tue, 24 Sep 2024 22:10:19 +0200 Subject: [PATCH] Add Camel Quarkus LangChain4j extension #6534 (#6544) --- catalog/pom.xml | 13 ++ docs/modules/ROOT/nav.adoc | 1 + .../reference/extensions/langchain4j.adoc | 61 +++++++ extensions/langchain4j/deployment/pom.xml | 65 +++++++ .../chat/deployment/LangChain4jProcessor.java | 29 ++++ extensions/langchain4j/pom.xml | 37 ++++ extensions/langchain4j/runtime/pom.xml | 72 ++++++++ .../resources/META-INF/quarkus-extension.yaml | 32 ++++ extensions/pom.xml | 1 + integration-tests/langchain4j/pom.xml | 162 ++++++++++++++++++ .../langchain/it/LangChain4jResource.java | 41 +++++ .../langchain/it/LangChain4jRoute.java | 35 ++++ .../langchain/it/MirrorAiService.java | 46 +++++ .../langchain4jit/LangChain4jIT.java | 24 +++ .../langchain4jit/LangChain4jTest.java | 41 +++++ integration-tests/pom.xml | 1 + poms/bom/pom.xml | 10 ++ .../src/main/generated/flattened-full-pom.xml | 10 ++ .../main/generated/flattened-reduced-pom.xml | 10 ++ .../flattened-reduced-verbose-pom.xml | 10 ++ tooling/scripts/test-categories.yaml | 1 + 21 files changed, 702 insertions(+) create mode 100644 docs/modules/ROOT/pages/reference/extensions/langchain4j.adoc create mode 100644 extensions/langchain4j/deployment/pom.xml create mode 100644 extensions/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/langchain/chat/deployment/LangChain4jProcessor.java create mode 100644 extensions/langchain4j/pom.xml create mode 100644 extensions/langchain4j/runtime/pom.xml create mode 100644 extensions/langchain4j/runtime/src/main/resources/META-INF/quarkus-extension.yaml create mode 100644 integration-tests/langchain4j/pom.xml create mode 100644 integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jResource.java create mode 100644 integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jRoute.java create mode 100644 integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/MirrorAiService.java create mode 100644 integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jIT.java create mode 100644 integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jTest.java diff --git a/catalog/pom.xml b/catalog/pom.xml index af98ee6ac41..cff330977d8 100644 --- a/catalog/pom.xml +++ b/catalog/pom.xml @@ -2450,6 +2450,19 @@ + + org.apache.camel.quarkus + camel-quarkus-langchain4j + ${project.version} + pom + test + + + * + * + + + org.apache.camel.quarkus camel-quarkus-langchain4j-chat diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 2ddaf0d9881..7ba1f002c8d 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -336,6 +336,7 @@ *** xref:reference/extensions/grpc.adoc[gRPC] *** xref:reference/extensions/ical.adoc[iCal] *** xref:reference/extensions/joor.adoc[jOOR] +*** xref:reference/extensions/langchain4j.adoc[langChain4j] *** xref:reference/extensions/langchain4j-chat.adoc[langChain4j Chat] *** xref:reference/extensions/univocity-parsers.adoc[uniVocity CSV]// extensions: END ** xref:reference/components.adoc[Components] diff --git a/docs/modules/ROOT/pages/reference/extensions/langchain4j.adoc b/docs/modules/ROOT/pages/reference/extensions/langchain4j.adoc new file mode 100644 index 00000000000..228bdac2079 --- /dev/null +++ b/docs/modules/ROOT/pages/reference/extensions/langchain4j.adoc @@ -0,0 +1,61 @@ +// Do not edit directly! +// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page +[id="extensions-langchain4j"] += langChain4j +:linkattrs: +:cq-artifact-id: camel-quarkus-langchain4j +:cq-native-supported: true +:cq-status: Experimental +:cq-status-deprecation: Experimental +:cq-description: LangChain4j high level api usage with Camel Quarkus +:cq-deprecated: false +:cq-jvm-since: 3.16.0 +:cq-native-since: 3.16.0 + +ifeval::[{doc-show-badges} == true] +[.badges] +[.badge-key]##JVM since##[.badge-supported]##3.16.0## [.badge-key]##Native since##[.badge-supported]##3.16.0## +endif::[] + +LangChain4j high level api usage with Camel Quarkus + +[id="extensions-langchain4j-maven-coordinates"] +== Maven coordinates + +https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-langchain4j[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"] + +Or add the coordinates to your existing project: + +[source,xml] +---- + + org.apache.camel.quarkus + camel-quarkus-langchain4j + +---- +ifeval::[{doc-show-user-guide-link} == true] +Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. +endif::[] + +[id="extensions-langchain4j-quarkus-langchain4j-bom"] +== Ensure Quarkus LangChain4j dependencies version alignment with the Bom + +In order to ensure alignment across all Quarkus and LangChain4j related dependencies, it is recommended to import the Quarkus LangChain4j bom as below: +[source,xml] +---- + + + + io.quarkiverse.langchain4j + quarkus-langchain4j-bom + ${insert your version here} + pom + import + + + ... + +---- + +Note that the import order is paramount when using maven `dependencyManagement`. +As such, one might need to import the `quarkus-langchain4j-bom` before other related Camel and Quarkus boms. diff --git a/extensions/langchain4j/deployment/pom.xml b/extensions/langchain4j/deployment/pom.xml new file mode 100644 index 00000000000..47a61d323aa --- /dev/null +++ b/extensions/langchain4j/deployment/pom.xml @@ -0,0 +1,65 @@ + + + + 4.0.0 + + org.apache.camel.quarkus + camel-quarkus-langchain4j-parent + 3.16.0-SNAPSHOT + ../pom.xml + + + camel-quarkus-langchain4j-deployment + Camel Quarkus :: langChain4j :: Deployment + + + + io.quarkiverse.langchain4j + quarkus-langchain4j-core-deployment + + + org.apache.camel.quarkus + camel-quarkus-bean-deployment + + + org.apache.camel.quarkus + camel-quarkus-langchain4j + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + + + diff --git a/extensions/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/langchain/chat/deployment/LangChain4jProcessor.java b/extensions/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/langchain/chat/deployment/LangChain4jProcessor.java new file mode 100644 index 00000000000..fc7e0954bce --- /dev/null +++ b/extensions/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/langchain/chat/deployment/LangChain4jProcessor.java @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.langchain.chat.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.builditem.FeatureBuildItem; + +class LangChain4jProcessor { + private static final String FEATURE = "camel-quarkus-langchain4j"; + + @BuildStep + FeatureBuildItem feature() { + return new FeatureBuildItem(FEATURE); + } +} diff --git a/extensions/langchain4j/pom.xml b/extensions/langchain4j/pom.xml new file mode 100644 index 00000000000..002b35767dc --- /dev/null +++ b/extensions/langchain4j/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + org.apache.camel.quarkus + camel-quarkus-extensions + 3.16.0-SNAPSHOT + ../pom.xml + + + camel-quarkus-langchain4j-parent + Camel Quarkus :: langChain4j + pom + + + deployment + runtime + + diff --git a/extensions/langchain4j/runtime/pom.xml b/extensions/langchain4j/runtime/pom.xml new file mode 100644 index 00000000000..37d03618ec6 --- /dev/null +++ b/extensions/langchain4j/runtime/pom.xml @@ -0,0 +1,72 @@ + + + + 4.0.0 + + org.apache.camel.quarkus + camel-quarkus-langchain4j-parent + 3.16.0-SNAPSHOT + ../pom.xml + + + camel-quarkus-langchain4j + Camel Quarkus :: langChain4j :: Runtime + LangChain4j high level api usage with Camel Quarkus + + + 3.16.0 + 3.16.0 + experimental + + + + + io.quarkiverse.langchain4j + quarkus-langchain4j-core + + + org.apache.camel.quarkus + camel-quarkus-bean + + + + + + + io.quarkus + quarkus-extension-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + + + diff --git a/extensions/langchain4j/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions/langchain4j/runtime/src/main/resources/META-INF/quarkus-extension.yaml new file mode 100644 index 00000000000..8a379b67f8a --- /dev/null +++ b/extensions/langchain4j/runtime/src/main/resources/META-INF/quarkus-extension.yaml @@ -0,0 +1,32 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This is a generated file. Do not edit directly! +# To re-generate, run the following command from the top level directory: +# +# mvn -N cq:update-quarkus-metadata +# +--- +name: "Camel langChain4j" +description: "LangChain4j high level api usage with Camel Quarkus" +metadata: + icon-url: "https://raw.githubusercontent.com/apache/camel-website/main/antora-ui-camel/src/img/logo-d.svg" + guide: "https://camel.apache.org/camel-quarkus/latest/reference/extensions/langchain4j.html" + categories: + - "integration" + status: + - "experimental" diff --git a/extensions/pom.xml b/extensions/pom.xml index 990899e7cb2..2cc68249b30 100644 --- a/extensions/pom.xml +++ b/extensions/pom.xml @@ -168,6 +168,7 @@ kubernetes kubernetes-cluster-service kudu + langchain4j langchain4j-chat language ldap diff --git a/integration-tests/langchain4j/pom.xml b/integration-tests/langchain4j/pom.xml new file mode 100644 index 00000000000..2cae58379e1 --- /dev/null +++ b/integration-tests/langchain4j/pom.xml @@ -0,0 +1,162 @@ + + + + 4.0.0 + + org.apache.camel.quarkus + camel-quarkus-build-parent-it + 3.16.0-SNAPSHOT + ../../poms/build-parent-it/pom.xml + + + camel-quarkus-integration-test-langchain4j + Camel Quarkus :: Integration Tests :: langChain4j + Integration tests for LangChain4j high level api usage with Camel Quarkus + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + -parameters + + + + + + + + + org.apache.camel.quarkus + camel-quarkus-direct + + + org.apache.camel.quarkus + camel-quarkus-jsonpath + + + org.apache.camel.quarkus + camel-quarkus-langchain4j + + + io.quarkus + quarkus-rest + + + io.quarkiverse.langchain4j + quarkus-langchain4j-ollama + + + + + io.quarkus + quarkus-junit5 + test + + + io.rest-assured + rest-assured + test + + + + + + virtualDependencies + + + !noVirtualDependencies + + + + + + org.apache.camel.quarkus + camel-quarkus-direct-deployment + ${project.version} + pom + test + + + * + * + + + + + org.apache.camel.quarkus + camel-quarkus-jsonpath-deployment + ${project.version} + pom + test + + + * + * + + + + + org.apache.camel.quarkus + camel-quarkus-langchain4j-deployment + ${project.version} + pom + test + + + * + * + + + + + + + native + + + native + + + + true + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + verify + + + + + + + + + diff --git a/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jResource.java b/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jResource.java new file mode 100644 index 00000000000..d3c9d30a687 --- /dev/null +++ b/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jResource.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.langchain.it; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import org.apache.camel.ProducerTemplate; + +@Path("/langchain4j") +@ApplicationScoped +public class LangChain4jResource { + + @Inject + ProducerTemplate producerTemplate; + + @Path("/camel-annotations-should-work-as-expected") + @POST + @Produces(MediaType.APPLICATION_JSON) + public String camelAnnotationsShouldWorkAsExpected(String json) { + return producerTemplate.requestBody("direct:camel-annotations-should-work-as-expected", json, String.class); + } + +} diff --git a/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jRoute.java b/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jRoute.java new file mode 100644 index 00000000000..a7ee74f31a2 --- /dev/null +++ b/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/LangChain4jRoute.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.langchain.it; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import org.apache.camel.builder.RouteBuilder; + +@ApplicationScoped +public class LangChain4jRoute extends RouteBuilder { + + @Inject + MirrorAiService mirrorAiService; + + @Override + public void configure() { + from("direct:camel-annotations-should-work-as-expected") + .setHeader("headerName", constant("headerValue")) + .bean(mirrorAiService); + } +} diff --git a/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/MirrorAiService.java b/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/MirrorAiService.java new file mode 100644 index 00000000000..d19c78b9990 --- /dev/null +++ b/integration-tests/langchain4j/src/main/java/org/apache/camel/quarkus/component/langchain/it/MirrorAiService.java @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.langchain.it; + +import java.util.function.Supplier; + +import dev.langchain4j.data.message.AiMessage; +import dev.langchain4j.model.chat.ChatLanguageModel; +import dev.langchain4j.model.output.Response; +import dev.langchain4j.service.UserMessage; +import io.quarkiverse.langchain4j.RegisterAiService; +import jakarta.enterprise.context.ApplicationScoped; +import org.apache.camel.Handler; +import org.apache.camel.Header; +import org.apache.camel.jsonpath.JsonPath; +import org.apache.camel.quarkus.component.langchain.it.MirrorAiService.MirrorModelSupplier; + +@ApplicationScoped +@RegisterAiService(chatLanguageModelSupplier = MirrorModelSupplier.class) +public interface MirrorAiService { + + public static class MirrorModelSupplier implements Supplier { + @Override + public ChatLanguageModel get() { + return (messages) -> new Response<>(new AiMessage(messages.get(0).text())); + } + } + + @UserMessage("{\"fromJsonPath\": \"{fromJsonPath}\", \"fromHeader\": \"{fromHeader}\"}") + @Handler + String invoke(@JsonPath("$.included") String fromJsonPath, @Header("headerName") String fromHeader); +} diff --git a/integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jIT.java b/integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jIT.java new file mode 100644 index 00000000000..5352031b37b --- /dev/null +++ b/integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jIT.java @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.langchain4jit; + +import io.quarkus.test.junit.QuarkusIntegrationTest; + +@QuarkusIntegrationTest +class LangChain4jIT extends LangChain4jTest { + +} diff --git a/integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jTest.java b/integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jTest.java new file mode 100644 index 00000000000..d12b47ac26b --- /dev/null +++ b/integration-tests/langchain4j/src/test/java/org/apache/camel/quarkus/component/langchain4jit/LangChain4jTest.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.langchain4jit; + +import io.quarkus.test.junit.QuarkusTest; +import io.restassured.RestAssured; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import static org.hamcrest.Matchers.is; + +@QuarkusTest +class LangChain4jTest { + + @Test + @Disabled("https://github.com/apache/camel-quarkus/issues/6543") + void camelAnnotationsShouldWorkAsExpected() { + RestAssured.given() + .body("{\"included\": \"included-content\", \"ignored\": \"ignored-content\"}") + .post("/langchain4j/camel-annotations-should-work-as-expected") + .then() + .statusCode(200) + .body("fromJsonPath", is("included-content")) + .body("fromHeader", is("headerValue")); + } + +} diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 59a1a7e14c1..658afa12798 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -152,6 +152,7 @@ kotlin-dsl kubernetes kudu + langchain4j langchain4j-chat ldap leveldb diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 07d970f58ee..d040ebfe133 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -4792,6 +4792,11 @@ camel-quarkus-kudu-deployment ${camel-quarkus.version} + + org.apache.camel.quarkus + camel-quarkus-langchain4j + ${camel-quarkus.version} + org.apache.camel.quarkus camel-quarkus-langchain4j-chat @@ -4802,6 +4807,11 @@ camel-quarkus-langchain4j-chat-deployment ${camel-quarkus.version} + + org.apache.camel.quarkus + camel-quarkus-langchain4j-deployment + ${camel-quarkus.version} + org.apache.camel.quarkus camel-quarkus-langchain4j-embeddings diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index 5e5ab3f0636..7507e382436 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -4717,6 +4717,11 @@ camel-quarkus-kudu-deployment 3.16.0-SNAPSHOT + + org.apache.camel.quarkus + camel-quarkus-langchain4j + 3.16.0-SNAPSHOT + org.apache.camel.quarkus camel-quarkus-langchain4j-chat @@ -4727,6 +4732,11 @@ camel-quarkus-langchain4j-chat-deployment 3.16.0-SNAPSHOT + + org.apache.camel.quarkus + camel-quarkus-langchain4j-deployment + 3.16.0-SNAPSHOT + org.apache.camel.quarkus camel-quarkus-langchain4j-embeddings diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index e1dee981693..cff4777f843 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -4717,6 +4717,11 @@ camel-quarkus-kudu-deployment 3.16.0-SNAPSHOT + + org.apache.camel.quarkus + camel-quarkus-langchain4j + 3.16.0-SNAPSHOT + org.apache.camel.quarkus camel-quarkus-langchain4j-chat @@ -4727,6 +4732,11 @@ camel-quarkus-langchain4j-chat-deployment 3.16.0-SNAPSHOT + + org.apache.camel.quarkus + camel-quarkus-langchain4j-deployment + 3.16.0-SNAPSHOT + org.apache.camel.quarkus camel-quarkus-langchain4j-embeddings diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml index 36347bc488c..ab58ae4294d 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -4717,6 +4717,11 @@ camel-quarkus-kudu-deployment 3.16.0-SNAPSHOT + + org.apache.camel.quarkus + camel-quarkus-langchain4j + 3.16.0-SNAPSHOT + org.apache.camel.quarkus camel-quarkus-langchain4j-chat @@ -4727,6 +4732,11 @@ camel-quarkus-langchain4j-chat-deployment 3.16.0-SNAPSHOT + + org.apache.camel.quarkus + camel-quarkus-langchain4j-deployment + 3.16.0-SNAPSHOT + org.apache.camel.quarkus camel-quarkus-langchain4j-embeddings diff --git a/tooling/scripts/test-categories.yaml b/tooling/scripts/test-categories.yaml index 4090308988b..cee39642f0f 100644 --- a/tooling/scripts/test-categories.yaml +++ b/tooling/scripts/test-categories.yaml @@ -41,6 +41,7 @@ group-02: - jackson-protobuf - jfr - kafka-oauth + - langchain4j - oaipmh - pubnub - protobuf