morpheus_llm.service.vdb.milvus_client.MilvusClient
- class MilvusClient(*args, **kwargs)[source]
Bases:
pymilvus.MilvusClient
Extension of the
MilvusClient
class with custom functions.- Parameters
- uristr
URI for connecting to Milvus server.
- userstr
User name for authentication.
- passwordstr
Password for authentication.
- db_namestr
Name of the Milvus database.
- tokenstr
Token for authentication.
- **kwargsdict[str, typing.Any]
Additional keyword arguments for the MilvusClient constructor.
Methods
__call__
(*args, **kwargs)Call self as a function. create_partition delete_by_expr drop_index drop_partition get_collection has_collection has_partition load_collection release_collection upsert