mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-11 05:48:31 +02:00
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
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
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,
|
||||
)
|
||||
Reference in New Issue
Block a user