You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/03/18 05:55:20 UTC
(camel) branch main updated (9f6338b1ee4 -> 3c8fc46886e)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
from 9f6338b1ee4 [CAMEL-20512] Add full path for camel jbang process if using Windows (#13494)
new 40ec1263dc1 Remove cruft file
new 3c8fc46886e Regne
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../langchain/embeddings/langchain-embeddings.json | 43 ----------------------
.../builder/endpoint/StaticEndpointBuilders.java | 4 +-
.../LangchainEmbeddingsEndpointBuilderFactory.java | 8 ++--
3 files changed, 6 insertions(+), 49 deletions(-)
delete mode 100644 components/camel-ai/camel-langchain-embeddings/src/generated/resources/org/apache/camel/component/langchain/embeddings/langchain-embeddings.json
(camel) 01/02: Remove cruft file
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 40ec1263dc17e1be728ec646d56a996f78ce628b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 18 06:31:05 2024 +0100
Remove cruft file
---
.../langchain/embeddings/langchain-embeddings.json | 43 ----------------------
1 file changed, 43 deletions(-)
diff --git a/components/camel-ai/camel-langchain-embeddings/src/generated/resources/org/apache/camel/component/langchain/embeddings/langchain-embeddings.json b/components/camel-ai/camel-langchain-embeddings/src/generated/resources/org/apache/camel/component/langchain/embeddings/langchain-embeddings.json
deleted file mode 100644
index 00a08f7f076..00000000000
--- a/components/camel-ai/camel-langchain-embeddings/src/generated/resources/org/apache/camel/component/langchain/embeddings/langchain-embeddings.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "component": {
- "kind": "component",
- "name": "langchain-embeddings",
- "title": "Langchain4j Embeddings",
- "description": "Perform operations on the Qdrant Vector Database.",
- "deprecated": false,
- "firstVersion": "4.5.0",
- "label": "ai",
- "javaType": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddingsComponent",
- "supportLevel": "Preview",
- "groupId": "org.apache.camel",
- "artifactId": "camel-langchain-embeddings",
- "version": "4.4.0-SNAPSHOT",
- "scheme": "langchain-embeddings",
- "extendsScheme": "",
- "syntax": "langchain-embeddings:embeddingId",
- "async": false,
- "api": false,
- "consumerOnly": false,
- "producerOnly": true,
- "lenientProperties": false,
- "remote": true
- },
- "componentProperties": {
- "configuration": { "index": 0, "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddingsConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The configuration." },
- "embeddingModel": { "index": 1, "kind": "property", "displayName": "Embedding Model", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "dev.langchain4j.model.embedding.EmbeddingModel", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddingsConfiguration", "configurationField": "configuration", "description": "The EmbeddingModel engine to [...]
- "lazyStartProducer": { "index": 2, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...]
- "autowiredEnabled": { "index": 3, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching t [...]
- },
- "headers": {
- "CamelLangchainEmbeddingsFinishReason": { "index": 0, "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "dev.langchain4j.model.output.FinishReason", "enum": [ "STOP", "LENGTH", "TOOL_EXECUTION", "CONTENT_FILTER", "OTHER" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The Finish Reason.", "constantName": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddings$Headers#F [...]
- "CamelLangchainEmbeddingsInputTokenCount": { "index": 1, "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The Input Token Count.", "constantName": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddings$Headers#INPUT_TOKEN_COUNT" },
- "CamelLangchainEmbeddingsOutputTokenCount": { "index": 2, "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The Output Token Count.", "constantName": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddings$Headers#OUTPUT_TOKEN_COUNT" },
- "CamelLangchainEmbeddingsTotalTokenCount": { "index": 3, "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The Total Token Count.", "constantName": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddings$Headers#TOTAL_TOKEN_COUNT" },
- "CamelLangchainEmbeddingsVector": { "index": 4, "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "float[]", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "A dense vector embedding of a text", "constantName": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddings$Headers#VECTOR" }
- },
- "properties": {
- "embeddingId": { "index": 0, "kind": "path", "displayName": "Embedding Id", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The id" },
- "embeddingModel": { "index": 1, "kind": "parameter", "displayName": "Embedding Model", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "dev.langchain4j.model.embedding.EmbeddingModel", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.langchain.embeddings.LangchainEmbeddingsConfiguration", "configurationField": "configuration", "description": "The EmbeddingModel engine to [...]
- "lazyStartProducer": { "index": 2, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a produc [...]
- }
-}
(camel) 02/02: Regne
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3c8fc46886e15671f8c3b8546bcb85f3ce0167be
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 18 06:55:09 2024 +0100
Regne
---
.../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 4 ++--
.../endpoint/dsl/LangchainEmbeddingsEndpointBuilderFactory.java | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 3261df8cff8..61251baf19a 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -9831,7 +9831,7 @@ public class StaticEndpointBuilders {
}
/**
* Langchain4j Embeddings (camel-langchain-embeddings)
- * Perform operations on the Qdrant Vector Database.
+ * Langchain4j Embeddings
*
* Category: ai
* Since: 4.5
@@ -9851,7 +9851,7 @@ public class StaticEndpointBuilders {
}
/**
* Langchain4j Embeddings (camel-langchain-embeddings)
- * Perform operations on the Qdrant Vector Database.
+ * Langchain4j Embeddings
*
* Category: ai
* Since: 4.5
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LangchainEmbeddingsEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LangchainEmbeddingsEndpointBuilderFactory.java
index 1ac10e080e8..217ecbaf597 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LangchainEmbeddingsEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LangchainEmbeddingsEndpointBuilderFactory.java
@@ -26,7 +26,7 @@ import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
/**
- * Perform operations on the Qdrant Vector Database.
+ * Langchain4j Embeddings
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -142,7 +142,7 @@ public interface LangchainEmbeddingsEndpointBuilderFactory {
public interface LangchainEmbeddingsBuilders {
/**
* Langchain4j Embeddings (camel-langchain-embeddings)
- * Perform operations on the Qdrant Vector Database.
+ * Langchain4j Embeddings
*
* Category: ai
* Since: 4.5
@@ -155,7 +155,7 @@ public interface LangchainEmbeddingsEndpointBuilderFactory {
}
/**
* Langchain4j Embeddings (camel-langchain-embeddings)
- * Perform operations on the Qdrant Vector Database.
+ * Langchain4j Embeddings
*
* Category: ai
* Since: 4.5
@@ -175,7 +175,7 @@ public interface LangchainEmbeddingsEndpointBuilderFactory {
}
/**
* Langchain4j Embeddings (camel-langchain-embeddings)
- * Perform operations on the Qdrant Vector Database.
+ * Langchain4j Embeddings
*
* Category: ai
* Since: 4.5