Model.update() function

Update the information of a model including name, description, created date and so on.

Signature:

function update(modelId: string, name: string | null): Promise<string>;

Parameters

ParameterDescription
modelIdThe model id
namestring | The new model name

Returns:

Promise<string>

a promise contains the modelId being updated