langchain/libs/partners/qdrant
2024-05-22 15:21:08 -07:00
..
langchain_qdrant infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
scripts qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
tests qdrant: init package (#21146) 2024-05-13 18:20:03 -07: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 qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
poetry.lock multiple: releases with relaxed core dep (#21724) 2024-05-15 19:29:35 +00:00
pyproject.toml multiple: releases with relaxed core dep (#21724) 2024-05-15 19:29:35 +00:00
README.md qdrant: init package (#21146) 2024-05-13 18:20:03 -07: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",
)