Skip to content

Commit

Permalink
docs: Update qdrant.ipynb "BM25".lower() (#25616)
Browse files Browse the repository at this point in the history
Otherwise I've got KeyError from `fastembeds`
  • Loading branch information
mkhludnev authored Aug 21, 2024
1 parent b002702 commit d457d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/integrations/vectorstores/qdrant.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d457d7d

Please sign in to comment.