mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
docs: Update qdrant.ipynb "BM25".lower() (#25616)
Otherwise I've got KeyError from `fastembeds`
This commit is contained in:
parent
b002702af6
commit
d457d7d121
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user