langchain/libs/partners/qdrant
Mason Daugherty e7eac27241
ruff: more rules across the board & fixes (#31898)
* standardizes ruff dep version across all `pyproject.toml` files
* cli: ruff rules and corrections
* langchain: rules and corrections
2025-07-07 17:48:01 -04:00
..
langchain_qdrant langchain-qdrant[patch]: Add ruff bandit rules to linter (#31815) 2025-07-01 18:42:55 +00:00
scripts partners[lint]: run pyupgrade to get code in line with 3.9 standards (#30781) 2025-04-11 07:18:44 -04:00
tests partners[lint]: run pyupgrade to get code in line with 3.9 standards (#30781) 2025-04-11 07:18:44 -04:00
.gitignore qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
LICENSE qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
Makefile fix: automatically fix issues with ruff (#31897) 2025-07-07 14:13:10 -04:00
pyproject.toml ruff: more rules across the board & fixes (#31898) 2025-07-07 17:48:01 -04:00
README.md qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
uv.lock packaging: remove Python upper bound for langchain and co libs (#31025) 2025-04-28 14:44:28 -04:00

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