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?