From cb5e941a750fea2c0d953fb9408d4cebe14677ee Mon Sep 17 00:00:00 2001
From: Harsha S <sharsha315@gmail.com>
Date: Sat, 6 Apr 2024 00:20:16 +0530
Subject: [PATCH] Update QdrantClient usage in documentation (#12602)

---
 docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb b/docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb
index 16a5752cc4..6646264bea 100644
--- a/docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb
+++ b/docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb
@@ -216,9 +216,12 @@
     "    # you can use :memory: mode for fast and light-weight experiments,\n",
     "    # it does not require to have Qdrant deployed anywhere\n",
     "    # but requires qdrant-client >= 1.1.1\n",
-    "    location=\":memory:\"\n",
+    "    # location=\":memory:\"\n",
     "    # otherwise set Qdrant instance address with:\n",
-    "    # uri=\"http://<host>:<port>\"\n",
+    "    # url=\"http://<host>:<port>\"\n",
+    "    # otherwise set Qdrant instance with host and port:\n",
+    "    host=\"localhost\",\n",
+    "    port=6333\n",
     "    # set API KEY for Qdrant Cloud\n",
     "    # api_key=\"<qdrant-api-key>\",\n",
     ")"
-- 
GitLab