Skip to main content
Open on GitHub

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
API Reference: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?