Last active
September 26, 2022 14:15
-
-
Save kacperlukawski/45f77337a08c9f857710bd04416d89c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from qdrant_client import QdrantClient | |
from qdrant_client.conversions.common_types import VectorParams | |
client = QdrantClient("localhost", 6333) | |
client.recreate_collection( | |
collection_name="test_collection", | |
vectors_config=VectorParams(size=4, distance=Distance.EUCLID), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment