langchain/libs/partners/qdrant
2024-07-22 13:59:13 -07:00
..
langchain_qdrant langchain_qdrant: Added method "_asimilarity_search_with_relevance_scores" to Qdrant class (#23954) 2024-07-12 23:25:20 +00:00
scripts
tests qdrant: test new QdrantVectorStore (#24165) 2024-07-12 23:59:30 +00: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 all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07: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",
)