From e478cfc32a7957c8b6f090ff47a0e30b7c2939d2 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:32:27 +0000 Subject: [PATCH] Add component definition: pinecone --- component.json | 298 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..b74bb18 --- /dev/null +++ b/component.json @@ -0,0 +1,298 @@ +{ + "component": { + "kind": "component", + "name": "pinecone", + "title": "Pinecone", + "description": "Perform operations on the Pinecone Vector Database.", + "deprecated": false, + "firstVersion": "4.6.0", + "label": "database,ai", + "javaType": "org.apache.camel.component.pinecone.PineconeVectorDbComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-pinecone", + "version": "4.10.2", + "scheme": "pinecone", + "extendsScheme": "", + "syntax": "pinecone:collection", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "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" + }, + "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", + "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" + }, + "CamelPineconeIndexId": { + "index": 11, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Index Upsert Id", + "constantName": "org.apache.camel.component.pinecone.PineconeVectorDb$Headers#INDEX_ID" + }, + "CamelPineconeQueryTopK": { + "index": 12, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query Top K", + "constantName": "org.apache.camel.component.pinecone.PineconeVectorDb$Headers#QUERY_TOP_K" + } + }, + "properties": { + "collection": { + "index": 0, + "kind": "path", + "displayName": "Collection", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The collection Name" + }, + "token": { + "index": 1, + "kind": "parameter", + "displayName": "Token", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.pinecone.PineconeVectorDbConfiguration", + "configurationField": "configuration", + "description": "Sets the API key to use for authentication" + }, + "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 producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." + } + } +} \ No newline at end of file