morpheus.service.vdb.utils
Functions
handle_service_exceptions (func) |
A decorator that handles common exceptions for the given service. |
validate_service (*args, **kwargs) |
Classes
VectorDBServiceFactory () |
Methods |
- handle_service_exceptions(func)[source]
A decorator that handles common exceptions for the given service.
- Parameters
- func
The function to be decorated.
- Returns
- function
A wrapped function with exception handling.
- Raises
- ValueError
If the specified service name is not found or does not correspond to a valid service class.
- validate_service(*args, **kwargs)[source]