class MilvusClass for interacting with a Milvus database. Extends the VectorStore class.
Returns a string representing the type of vector store, which subclasses must implement to identify their specific vector storage type.
Adds documents to the Milvus database.
Adds vectors to the Milvus database.
Creates a VectorStoreRetriever instance with flexible configuration options.
Creates a collection in the Milvus database.
Deletes data from the Milvus database.
Ensures that a collection exists in the Milvus database.
Ensures that a partition exists in the Milvus collection.
Retrieves the fields of a collection in the Milvus database.
Return documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.
Sets properties for the current milvus collection.
Searches for documents similar to a text query by embedding the query and performing a similarity search on the resulting vector.
Searches for vectors in the Milvus database that are similar to a given vector.
Searches for documents similar to a text query by embedding the query, and returns results with similarity scores.
Creates a Milvus instance from a set of Document instances.
Creates a Milvus instance from an existing collection in the Milvus database.
Creates a Milvus instance from a set of texts and their associated metadata.
The name of the serializable. Override to provide an alias or to preserve the serialized module name in minified environments.
Implemented as a static method to support loading logic.