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 <claus.ib...@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 [...]
-  }
-}

Reply via email to