client.update_model_artifact

Update the model artifact of an existing model with artifact (surrogate or customer uploaded)

πŸ“˜

Note

Before calling this function, you must have already added a model using add_model_surrogate or add_model_artifact

Input ParameterTypeDefaultDescription
project_idstrNoneThe unique identifier for the project.
model_idstrNoneA unique identifier for the model.
model_dirstrNoneA path to the directory containing all of the model files needed to run the model.
deployment_paramsOptional[fdl.DeploymentParams]NoneDeployment parameters object for tuning the model deployment spec. Supported from server version 23.1 and above with Model Deployment feature enabled.
PROJECT_ID = 'example_project'
MODEL_ID = 'example_model'

client.update_model_artifact(  
    project_id=PROJECT_ID,
    model_id=MODEL_ID,
    model_dir='model_dir/',
)