From d457d7d121028f59a20d03a6c200ec80f501400f Mon Sep 17 00:00:00 2001 From: Mikhail Khludnev Date: Wed, 21 Aug 2024 16:45:00 +0300 Subject: [PATCH] docs: Update qdrant.ipynb "BM25".lower() (#25616) Otherwise I've got KeyError from `fastembeds` --- docs/docs/integrations/vectorstores/qdrant.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/vectorstores/qdrant.ipynb b/docs/docs/integrations/vectorstores/qdrant.ipynb index 42b456b5a979f..1c1731d46076e 100644 --- a/docs/docs/integrations/vectorstores/qdrant.ipynb +++ b/docs/docs/integrations/vectorstores/qdrant.ipynb @@ -532,7 +532,7 @@ "source": [ "from langchain_qdrant import FastEmbedSparse, RetrievalMode\n", "\n", - "sparse_embeddings = FastEmbedSparse(model_name=\"Qdrant/BM25\")\n", + "sparse_embeddings = FastEmbedSparse(model_name=\"Qdrant/bm25\")\n", "\n", "qdrant = QdrantVectorStore.from_documents(\n", " docs,\n", @@ -571,7 +571,7 @@ "source": [ "from langchain_qdrant import FastEmbedSparse, RetrievalMode\n", "\n", - "sparse_embeddings = FastEmbedSparse(model_name=\"Qdrant/BM25\")\n", + "sparse_embeddings = FastEmbedSparse(model_name=\"Qdrant/bm25\")\n", "\n", "qdrant = QdrantVectorStore.from_documents(\n", " docs,\n",