From 439a1e4a82244ccd1ec2aa196373ef38a98c484d Mon Sep 17 00:00:00 2001 From: George Panchuk Date: Fri, 1 Mar 2024 18:49:26 +0100 Subject: [PATCH] docs: add batching recommendation to readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index baa88f7d..cc75d4a6 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,9 @@ import numpy as np from qdrant_client.models import PointStruct vectors = np.random.rand(100, 100) +# NOTE: consider splitting the data into chunks to avoid hitting the server's payload size limit +# or use `upload_collection` or `upload_points` methods which handle this for you +# WARNING: uploading points one-by-one is not recommended due to requests overhead client.upsert( collection_name="my_collection", points=[