[ 
https://issues.apache.org/jira/browse/CAMEL-27098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18148837#comment-18148837
 ] 

Claus Ibsen edited comment on CAMEL-27098 at 11/21/26, 8:18 PM:
----------------------------------------------------------------

Fixed by https://github.com/apache/camel/pull/30452 (merged as 63c0ee3e7039 on 
main), in 4.24.0. Thanks to gitPratikSingh for the fix.

_Claude Code on behalf of davsclaus_


was (Author: davsclaus):
Fixed by https://github.com/apache/camel/pull/30452 (merged as 63c0ee3e7039 on 
main), in 4.24.0. Thanks Pratik Singh (gitPratikSingh).

_Claude Code on behalf of davsclaus_

> camel-pinecone - the pinecone:embeddings transformer sets the index name 
> header to embeddings, which overrides the indexName option
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27098
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27098
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-pinecone
>            Reporter: Andrea Cosentino
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Follow-up of CAMEL-26300 ([PR 
> #29213|https://github.com/apache/camel/pull/29213]), which documented the 
> behaviour without changing it.
> Without a {{CamelPineconeIndexName}} header, 
> {{PineconeEmbeddingsDataTypeTransformer}} (main 73fe55b4f931, lines 66-68) 
> sets the header to {{embeddings}}. {{PineconeVectorDbProducer}} takes the 
> header over the endpoint's {{indexName}} option in each action on an index 
> (for example {{upsert}}, lines 217-218). So when the transformer runs before 
> a producer whose endpoint sets {{indexName}}, and the route does not set the 
> header, the producer works on the index {{embeddings}}.
> Proposed: leave the header unset when the route does not set it, so that the 
> producer uses its {{indexName}}, and update the component page, which 
> documents the {{embeddings}} default (pinecone-component.adoc, line 81). A 
> route that relied on the index {{embeddings}} would then have to set it, so 
> the change needs an upgrade guide entry.
> _Claude Code on behalf of Andrea Cosentino (oscerd)_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to