From 08f5e6b8012f5eda2609103f33676199a3781a15 Mon Sep 17 00:00:00 2001 From: Ludwig Hubert Date: Sun, 30 Jul 2023 22:24:44 +0200 Subject: [PATCH] Fix documentation for from_documents signature (#8482) Docs for from_documents() were outdated as seen in https://github.com/langchain-ai/langchain/issues/8457 . fixes #8457 --- docs/extras/integrations/vectorstores/qdrant.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/extras/integrations/vectorstores/qdrant.ipynb b/docs/extras/integrations/vectorstores/qdrant.ipynb index ad81582ee9..c362639c84 100644 --- a/docs/extras/integrations/vectorstores/qdrant.ipynb +++ b/docs/extras/integrations/vectorstores/qdrant.ipynb @@ -202,7 +202,7 @@ "qdrant = Qdrant.from_documents(\n", " docs,\n", " embeddings,\n", - " url,\n", + " url=url,\n", " prefer_grpc=True,\n", " collection_name=\"my_documents\",\n", ")" @@ -236,7 +236,7 @@ "qdrant = Qdrant.from_documents(\n", " docs,\n", " embeddings,\n", - " url,\n", + " url=url,\n", " prefer_grpc=True,\n", " api_key=api_key,\n", " collection_name=\"my_documents\",\n", @@ -270,7 +270,7 @@ "qdrant = Qdrant.from_documents(\n", " docs,\n", " embeddings,\n", - " url,\n", + " url=url,\n", " prefer_grpc=True,\n", " collection_name=\"my_documents\",\n", " force_recreate=True,\n",