mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +00:00
c2072d909a
- Add static method decorator - Add args for api doc - Fix word spelling Co-authored-by: Erick Friis <erick@langchain.dev> |
||
---|---|---|
.. | ||
langchain_qdrant | ||
scripts | ||
tests | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
langchain-qdrant
This package contains the LangChain integration with Qdrant.
Installation
pip install -U langchain-qdrant
Usage
The Qdrant
class exposes the connection to the Qdrant vector store.
from langchain_qdrant import Qdrant
embeddings = ... # use a LangChain Embeddings class
vectorstore = Qdrant.from_existing_collection(
embeddings=embeddings,
collection_name="<COLLECTION_NAME>",
url="http://localhost:6333",
)