langchain-milvus: 0.1.5#

retrievers#

Classes

retrievers.milvus_hybrid_search.MilvusCollectionHybridSearchRetriever

Hybrid search retriever that uses Milvus Collection to retrieve documents based on multiple fields.

retrievers.zilliz_cloud_pipeline_retriever.ZillizCloudPipelineRetriever

Zilliz Cloud Pipeline retriever.

utils#

Classes

utils.sparse.BM25SparseEmbedding(corpus[, ...])

Sparse embedding model based on BM25.

utils.sparse.BaseSparseEmbedding()

Interface for Sparse embedding models.

vectorstores#

Classes

vectorstores.milvus.Milvus(embedding_function)

Milvus vector store integration.

vectorstores.zilliz.Zilliz(embedding_function)

Zilliz vector store.

Functions

vectorstores.milvus.cosine_similarity(X, Y)

Row-wise cosine similarity between two equal-width matrices.

vectorstores.milvus.maximal_marginal_relevance(...)

Calculate maximal marginal relevance.