Files
Abdon Pijpelink 44bf1f472b Update Bulk Upload tutorial for best practices (#2407)
* Make Bulk Upload tutorial code snippets testable

* Align Bulk Upload tutorial with agent skill

* Update Bulk Upload tutorial

* Update title

* Remove 'Disable Indexing' section
2026-06-26 13:07:14 +02:00

12 lines
298 B
Python

from qdrant_client import QdrantClient, models
# @hide-start
client = QdrantClient(url="http://localhost:6333")
# @hide-end
client.create_collection(
collection_name="{collection_name}",
vectors_config=models.VectorParams(size=768, distance=models.Distance.COSINE),
shard_number=2,
)