Files
langchain/libs/partners/qdrant
Anush 80560419b0 qdrant[patch]: Make path optional in from_existing_collection() (#21875)
## Description

The `path` param is used to specify the local persistence directory,
which isn't required if using Qdrant server.

This is a breaking but necessary change.
2024-06-06 10:37:08 -07:00
..
2024-05-13 18:20:03 -07:00
2024-05-13 18:20:03 -07:00
2024-05-13 18:20:03 -07:00
2024-05-13 18:20:03 -07:00
2024-05-13 18:20:03 -07:00
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",
)