-
I created collection name by this code:
But error as below when upsert:
Do you know how to fix it. Thanks in advanced. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Are you sure that you're inserting in this very same collection? Things look about right. It errors because it cannot insert a vector with name |
Beta Was this translation helpful? Give feedback.
-
I'm using same vector name:
My code like this:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your support, Now it work with this code:
|
Beta Was this translation helpful? Give feedback.
Based on the above it looks like you're:
custom-vector
The schema during creation and the vectors you upsert must match. Qdrant will not create new vector names dynamically.
In this example you can see how you'd create a collection with named vectors. In your case you likely just want one named vector (
custom-vector
): https://qdrant.tech/documentation/concepts/collections/#collection-with-multiple-vectorsAfter doing that I assume the above issue will be resolved.