Class PineconeVectorDbConfiguration
java.lang.Object
org.apache.camel.component.pinecone.PineconeVectorDbConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()io.pinecone.clients.PineconegetCloud()getHost()getToken()booleanisTls()voidsetClient(io.pinecone.clients.Pinecone client) Reference to a `io.pinecone.clients.Pinecone`.voidSets the cloud type to use (aws/gcp/azure)voidsetCloudRegion(String cloudRegion) Sets the cloud regionvoidsetCollectionDimension(Integer collectionDimension) Sets the Collection Dimension to use (1-1536)voidsetCollectionSimilarityMetric(String collectionSimilarityMetric) Sets the Collection Similarity Metric to use (cosine/euclidean/dotproduct)voidSets a custom host URL to connect tovoidsetIndexName(String indexName) Sets the index name to usevoidsetProxyHost(String proxyHost) Set the proxy hostvoidsetProxyPort(Integer proxyPort) Set the proxy portvoidsetTls(boolean tls) Whether the client uses Transport Layer Security (TLS) to secure communicationsvoidSets the API key to use for authentication
-
Constructor Details
-
PineconeVectorDbConfiguration
public PineconeVectorDbConfiguration()
-
-
Method Details
-
getIndexName
-
setIndexName
Sets the index name to use -
getCollectionSimilarityMetric
-
setCollectionSimilarityMetric
Sets the Collection Similarity Metric to use (cosine/euclidean/dotproduct) -
getCollectionDimension
-
setCollectionDimension
Sets the Collection Dimension to use (1-1536) -
getCloud
-
setCloud
Sets the cloud type to use (aws/gcp/azure) -
getCloudRegion
-
setCloudRegion
Sets the cloud region -
getProxyHost
-
setProxyHost
Set the proxy host -
getProxyPort
-
setProxyPort
Set the proxy port -
isTls
public boolean isTls() -
setTls
public void setTls(boolean tls) Whether the client uses Transport Layer Security (TLS) to secure communications -
getHost
-
setHost
Sets a custom host URL to connect to -
getToken
-
setToken
Sets the API key to use for authentication -
getClient
public io.pinecone.clients.Pinecone getClient() -
setClient
public void setClient(io.pinecone.clients.Pinecone client) Reference to a `io.pinecone.clients.Pinecone`. -
copy
-