Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local mode does not raise an error on an attempt to write a non-existent named vector #431

Closed
joein opened this issue Jan 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joein
Copy link
Member

joein commented Jan 11, 2024

from qdrant_client import QdrantClient, models

client = QdrantClient(":memory:")
client.recreate_collection(
    "test", vectors_config=models.VectorParams(size=2, distance=models.Distance.COSINE)
)
client.upsert("test", points=[models.PointStruct(id=1, vector={"what_am_I": [0.1, 0.3]})])
@joein joein added the bug Something isn't working label Jan 11, 2024
@joein joein self-assigned this Jan 11, 2024
@joein
Copy link
Member Author

joein commented Jan 19, 2024

available as of qdrant-client==1.7.1

@joein joein closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant