NVIDIA Morpheus (24.06)

morpheus.service.vdb.milvus_vector_db_service

Functions

with_collection_lock(func) A decorator to synchronize access to a collection with a lock.

Classes

FieldSchemaEncoder(*[, skipkeys, ...])

Methods

MilvusVectorDBResourceService(name, client) Represents a service for managing resources in a Milvus Vector Database.
MilvusVectorDBService(uri[, user, password, ...]) Service class for Milvus Vector Database implementation.
with_collection_lock(func)[source]

A decorator to synchronize access to a collection with a lock. This decorator ensures that operations on a specific collection within the Milvus Vector Database are synchronized by acquiring and releasing a collection-specific lock.

Parameters
func

The function to be wrapped with the lock.

Returns
Callable

The wrapped function with the lock acquisition logic.

Previous morpheus.service.vdb.milvus_client.MilvusClient
Next morpheus.service.vdb.milvus_vector_db_service.FieldSchemaEncoder
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.