Skip to main content

Milvus

Milvus is a database that stores, indexes, and manages massive embedding vectors generated by deep neural networks and other machine learning (ML) models.

Installation and Setupโ€‹

Install the Python SDK:

pip install langchain-milvus

Vector Storeโ€‹

See a usage example.

To import this vectorstore:

from langchain_milvus import Milvus

Retrieversโ€‹

See a usage example.

To import this vectorstore:

from langchain_milvus.retrievers import MilvusCollectionHybridSearchRetriever
from langchain_milvus.utils.sparse import BM25SparseEmbedding

Was this page helpful?