(camel) 01/01: Camel-Pinecone: Refine metadata

2024-05-09 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch pinecone-distance-similarity-meta
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ac47172ac93f9b3d93659c0813b5fc3c26ffdf9e
Author: Andrea Cosentino 
AuthorDate: Thu May 9 10:28:58 2024 +0200

Camel-Pinecone: Refine metadata

Signed-off-by: Andrea Cosentino 
---
 .../resources/org/apache/camel/catalog/components/pinecone.json | 2 +-
 .../META-INF/org/apache/camel/component/pinecone/pinecone.json  | 2 +-
 .../main/java/org/apache/camel/component/pinecone/PineconeVectorDb.java | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
index 82e43374d94..3802f1993b6 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
@@ -36,7 +36,7 @@
 "CamelPineconeIndexPodType": { "index": 4, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Index Pod Type", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#INDEX_POD_TYPE" },
 "CamelPineconeIndexPodEnvironment": { "index": 5, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Index Pod Environment", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#INDEX_POD_ENVIRONMENT"
 },
 "CamelPineconeCollectionName": { "index": 6, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Collection Name for Insert\/Upsert 
operation", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_NAME" 
},
-"CamelPineconeCollectionSimilarityMetric": { "index": 7, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Collection Similarity Metric", 
"constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_SIMILARITY_METRIC"
 },
+"CamelPineconeCollectionSimilarityMetric": { "index": 7, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "enum": [ "cosine", "euclidean", "dotproduct" ], 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Collection Similarity Metric", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_SIMILARITY_METRIC"
 },
 "CamelPineconeCollectionDimension": { "index": 8, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Collection Dimension", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_DIMENSION"
 },
 "CamelPineconeCollectionCloud": { "index": 9, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "enum": [ "aws", "gcp", "azure" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "description": 
"Collection Cloud Vendor", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_CLOUD" 
},
 "CamelPineconeCollectionCloudRegion": { "index": 10, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "enum": [ "aws", "gcp", "azure" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "description": 
"Collection Cloud Vendor Region", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_CLOUD_REGION"
 },
diff --git 
a/components/camel-pinecone/src/generated/resources/META-INF/org/apache/camel/component/pinecone/pinecone.json
 
b/components/camel-pinecone/src/generated/resources/META-INF/org/apache/camel/component/pinecone/pinecone.json
index 82e43374d94..3802f1993b6 100644
--- 
a/components/camel-pinecone/src/generated/resources/META-INF/org/apache/camel/component/pinecone/pinecone.json
+++ 

(camel) 01/01: Camel-Pinecone: Refine metadata

2024-05-08 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch pinecone-metadata-refinement
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 91a9af6be89bd096c8814c5535193eade08a4308
Author: Andrea Cosentino 
AuthorDate: Thu May 9 07:01:05 2024 +0200

Camel-Pinecone: Refine metadata

Signed-off-by: Andrea Cosentino 
---
 .../resources/org/apache/camel/catalog/components/pinecone.json | 6 +++---
 .../META-INF/org/apache/camel/component/pinecone/pinecone.json  | 6 +++---
 .../java/org/apache/camel/component/pinecone/PineconeVectorDb.java  | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
index d026d296469..82e43374d94 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/pinecone.json
@@ -29,7 +29,7 @@
 "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": {
-"CamelPineconeAction": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"enum": [ "CREATE_COLLECTION", "CREATE_INDEX", "UPSERT", "INSERT", "SEARCH", 
"DELETE", "UPDATE" ], "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The action to be performed.", 
"constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#ACTION" },
+"CamelPineconeAction": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"enum": [ "CREATE_COLLECTION", "CREATE_INDEX", "UPSERT", "INSERT", "SEARCH", 
"DELETE", "UPDATE", "QUERY", "QUERY_BY_ID" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "description": "The 
action to be performed.", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#ACTION" },
 "CamelPineconeTextFieldName": { "index": 1, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Text Field Name for Insert\/Upsert 
operation", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#TEXT_FIELD_NAME" 
},
 "CamelPineconeVectorFieldName": { "index": 2, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Vector Field Name for Insert\/Upsert 
operation", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#VECTOR_FIELD_NAME"
 },
 "CamelPineconeIndexName": { "index": 3, "kind": "header", "displayName": 
"", "group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Index Name", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#INDEX_NAME" },
@@ -38,8 +38,8 @@
 "CamelPineconeCollectionName": { "index": 6, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Collection Name for Insert\/Upsert 
operation", "constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_NAME" 
},
 "CamelPineconeCollectionSimilarityMetric": { "index": 7, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Collection Similarity Metric", 
"constantName": 
"org.apache.camel.component.pinecone.PineconeVectorDb$Headers#COLLECTION_SIMILARITY_METRIC"
 },
 "CamelPineconeCollectionDimension": { "index": 8, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Collection Dimension", "constantName":