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

Andrea Cosentino commented on CAMEL-21010:
------------------------------------------

There is no easy way of doing this because the library works differently in 
relation to Qdrant. We need to specify the collectionName at POJO level when 
doing insert/upsert. This means we have to pass it via an header. I think we 
should document this in the component doc.

> camel-milvus: collection name mismatch with embeddings
> ------------------------------------------------------
>
>                 Key: CAMEL-21010
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21010
>             Project: Camel
>          Issue Type: Task
>          Components: camel-milvus
>    Affects Versions: 4.7.0
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.8.0
>
>
> The embedding component and the Milvus component in Camel have different 
> behaviors when it comes to handling collection names.
> The embedding component requires the collection name to be specified as a 
> header, while the Milvus component allows for a different collection name to 
> be used.
> For instance:
> {code:java}
> <setHeader name="CamelMilvusCollectionName">
>        <constant>MyTestCollectionName2</constant>
> </setHeader>
> <transform toType="milvus:embeddings"/>
> <to uri="milvus:MyCompletelyDifferentCollectionNameABBBC..."/>
> {code}
> This inconsistency can lead to confusion and errors when trying to use both 
> components together. It would be beneficial to standardize the behavior of 
> these components so that they can work seamlessly with each other. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to