langchain/libs/partners/qdrant
Erick Friis 1a225fad03
multiple: fix uv path deps (#29790)
file:// format wasn't working with updates - it doesn't install as an
editable dep

move to tool.uv.sources with path= instead
2025-02-13 21:32:34 +00:00
..
langchain_qdrant qdrant: Add similarity_search_with_score_by_vector() function to the QdrantVectorStore (#29641) 2025-02-07 00:55:58 +00:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tests qdrant: Add similarity_search_with_score_by_vector() function to the QdrantVectorStore (#29641) 2025-02-07 00:55:58 +00: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 infra: add UV_FROZEN to makefiles (#29642) 2025-02-06 14:36:54 -05:00
pyproject.toml multiple: fix uv path deps (#29790) 2025-02-13 21:32:34 +00:00
README.md qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
uv.lock multiple: fix uv path deps (#29790) 2025-02-13 21:32:34 +00: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",
)