| // Do not edit directly! |
| // This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page |
| [id="extensions-langchain4j-embeddings"] |
| = LangChain4j Embeddings |
| :linkattrs: |
| :cq-artifact-id: camel-quarkus-langchain4j-embeddings |
| :cq-native-supported: false |
| :cq-status: Preview |
| :cq-status-deprecation: Preview |
| :cq-description: LangChain4j Embeddings |
| :cq-deprecated: false |
| :cq-jvm-since: 3.10.0 |
| :cq-native-since: n/a |
| |
| ifeval::[{doc-show-badges} == true] |
| [.badges] |
| [.badge-key]##JVM since##[.badge-supported]##3.10.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## |
| endif::[] |
| |
| LangChain4j Embeddings |
| |
| [id="extensions-langchain4j-embeddings-whats-inside"] |
| == What's inside |
| |
| * xref:{cq-camel-components}::langchain4j-embeddings-component.adoc[LangChain4j Embeddings component], URI syntax: `langchain4j-embeddings:embeddingId` |
| |
| Please refer to the above link for usage and configuration details. |
| |
| [id="extensions-langchain4j-embeddings-maven-coordinates"] |
| == Maven coordinates |
| |
| [source,xml] |
| ---- |
| <dependency> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-langchain4j-embeddings</artifactId> |
| </dependency> |
| ---- |
| 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-embeddings-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] |
| ---- |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkiverse.langchain4j</groupId> |
| <artifactId>quarkus-langchain4j-bom</artifactId> |
| <version>${insert your version here}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| ... |
| </dependencyManagement> |
| ---- |
| |
| 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. |