diff --git a/opensearch_py_ml/ml_commons/ml_commons_client.py b/opensearch_py_ml/ml_commons/ml_commons_client.py index 57f9fd10b..502d4adb6 100644 --- a/opensearch_py_ml/ml_commons/ml_commons_client.py +++ b/opensearch_py_ml/ml_commons/ml_commons_client.py @@ -96,7 +96,9 @@ def upload_model( :rtype: string """ model_id = self._model_uploader._register_model( - model_path, model_config_path, isVerbose + model_path=model_path, + model_meta_path=model_config_path, + isVerbose=isVerbose ) # loading the model chunks from model index