langchain_milvus 0.1.1

langchain_milvus.retrievers

Classes

retrievers.milvus_hybrid_search.MilvusCollectionHybridSearchRetriever

This is a hybrid search retriever that uses Milvus Collection to retrieve documents based on multiple fields.

retrievers.zilliz_cloud_pipeline_retriever.ZillizCloudPipelineRetriever

Zilliz Cloud Pipeline retriever

langchain_milvus.utils

Classes

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

This is a class that inherits BaseSparseEmbedding and implements a sparse vector embedding model based on BM25.

utils.sparse.BaseSparseEmbedding()

Interface for Sparse embedding models.

langchain_milvus.vectorstores

Classes

vectorstores.milvus.Milvus(embedding_function)

Milvus vector store.

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.