langchain/libs/partners/qdrant
Christophe Bornet 038c287b3a
all: Improve make lint command (#25344)
* Removed `ruff check --select I` as `I` is already selected and checked
in the main `ruff check` command
* Added checks for non-empty `PYTHON_FILES`
* Run `ruff check` only on `PYTHON_FILES`

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-23 18:23:52 -07:00
..
langchain_qdrant partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -04:00
scripts patch[Partners] Unified fix of incorrect variable declarations in all check_imports (#25014) 2024-08-03 13:49:41 -04:00
tests qdrant: test new QdrantVectorStore (#24165) 2024-07-12 23:59:30 +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 all: Improve make lint command (#25344) 2024-08-23 18:23:52 -07:00
poetry.lock partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -04:00
pyproject.toml partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -04: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",
)