langchain/libs/partners/qdrant
2024-07-12 04:52:02 +02:00
..
langchain_qdrant qdrant: new Qdrant implementation (#24164) 2024-07-12 04:52:02 +02:00
scripts
tests qdrant: new Qdrant implementation (#24164) 2024-07-12 04:52:02 +02:00
.gitignore
LICENSE
Makefile qdrant: New sparse embeddings provider interface - PART 1 (#24015) 2024-07-11 17:07:25 -07:00
poetry.lock qdrant: new Qdrant implementation (#24164) 2024-07-12 04:52:02 +02:00
pyproject.toml qdrant: new Qdrant implementation (#24164) 2024-07-12 04:52:02 +02:00
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",
)