docs: Update qdrant.ipynb "BM25".lower() (#25616)

Otherwise I've got KeyError from `fastembeds`
This commit is contained in:
Mikhail Khludnev 2024-08-21 16:45:00 +03:00 committed by GitHub
parent b002702af6
commit d457d7d121
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",