mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-04 04:07:54 +00:00
update qdrant docs to reflect the proper way to initialize Qdrant() constructor (#4596)
# update qdrant docs to reflect the proper way to initialize Qdrant() constructor The [Qdrant docs](https://python.langchain.com/en/latest/modules/indexes/vectorstores/examples/qdrant.html) still contain an old reference for passing an `embedding_function` into the constructor. This is no longer supported. This PR updates the docs to reflect the proper way to initialize `Qdrant()` Old:  New: 
This commit is contained in:
parent
5372a06a8c
commit
4e56d3119c
@ -274,7 +274,7 @@
|
|||||||
")\n",
|
")\n",
|
||||||
"qdrant = Qdrant(\n",
|
"qdrant = Qdrant(\n",
|
||||||
" client=client, collection_name=\"my_documents\", \n",
|
" client=client, collection_name=\"my_documents\", \n",
|
||||||
" embedding_function=embeddings.embed_query\n",
|
" embeddings=embeddings\n",
|
||||||
")"
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user