Pinecone

Perform operations on the Pinecone Vector Database.

What’s inside

Please refer to the above links for usage and configuration details.

Maven coordinates

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-pinecone-starter</artifactId>
</dependency>

Spring Boot Auto-Configuration

The starter supports 15 options, which are listed below.

Name Description Default Type

camel.component.pinecone.action

Action to perform.

PineconeVectorDbAction

camel.component.pinecone.autowired-enabled

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 type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.

true

Boolean

camel.component.pinecone.cloud

Sets the cloud type to use (aws/gcp/azure)

String

camel.component.pinecone.cloud-region

Sets the cloud region

String

camel.component.pinecone.collection-dimension

Sets the Collection Dimension to use (1-1536)

1536

Integer

camel.component.pinecone.collection-similarity-metric

Sets the Collection Similarity Metric to use (cosine/euclidean/dotproduct)

String

camel.component.pinecone.configuration

The configuration;. The option is a org.apache.camel.component.pinecone.PineconeVectorDbConfiguration type.

PineconeVectorDbConfiguration

camel.component.pinecone.enabled

Whether to enable auto configuration of the pinecone component. This is enabled by default.

Boolean

camel.component.pinecone.host

Sets a custom host URL to connect to

String

camel.component.pinecone.index-name

Sets the index name to use

String

camel.component.pinecone.lazy-start-producer

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.

false

Boolean

camel.component.pinecone.proxy-host

Set the proxy host

String

camel.component.pinecone.proxy-port

Set the proxy port

Integer

camel.component.pinecone.tls

Whether the client uses Transport Layer Security (TLS) to secure communications

true

Boolean

camel.component.pinecone.token

Sets the API key to use for authentication

String