[
https://issues.apache.org/jira/browse/CAMEL-21588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Cunningham reassigned CAMEL-21588:
-----------------------------------------
Assignee: Thomas Cunningham
> Pinecone: configurations exclusive in the headers are not user friendly
> -----------------------------------------------------------------------
>
> Key: CAMEL-21588
> URL: https://issues.apache.org/jira/browse/CAMEL-21588
> Project: Camel
> Issue Type: Improvement
> Components: camel-pinecone
> Affects Versions: 4.8.2
> Reporter: Zineb Bendhiba
> Assignee: Thomas Cunningham
> Priority: Minor
> Fix For: 4.11.0
>
>
> While playing with Camel Pinecone, I realized that some properties are
> supposed to be set only by setting headers.
> Some of those are kind of mandatory (index name, cloud region...). I was
> using a Cloud account.
> These are the list headers that I wish they can be set as properties instead
>
> {code:java}
> .setHeader(PineconeVectorDb.Headers.INDEX_NAME,
> simple("{{pinecone.index-name}}"))
> .setHeader(PineconeVectorDb.Headers.COLLECTION_SIMILARITY_METRIC,
> constant("cosine"))
> .setHeader(PineconeVectorDb.Headers.COLLECTION_DIMENSION, constant(1536))
> .setHeader(PineconeVectorDb.Headers.COLLECTION_CLOUD, constant("aws"))
> .setHeader(PineconeVectorDb.Headers.COLLECTION_CLOUD_REGION,
> simple("{{pinecone.region}}"))
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)