From 1d91918b2dcbf5eb8bcac1b19973c534d96554c6 Mon Sep 17 00:00:00 2001 From: Adewusi Victor Date: Thu, 22 Sep 2022 15:09:31 +0100 Subject: [PATCH] fix(predict): update the names of parameters used in predict model responses --- specs/predict/responses/Models.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specs/predict/responses/Models.yml b/specs/predict/responses/Models.yml index 19561da528..0e40026bb6 100644 --- a/specs/predict/responses/Models.yml +++ b/specs/predict/responses/Models.yml @@ -30,9 +30,9 @@ modelInstance: lastInference: type: string description: The date and time this model instance generated its last inference. - error: + errorMessage: type: string - status: + modelStatus: type: string $ref: '#/getModelInstanceConfigStatus' required: @@ -49,11 +49,11 @@ modelInstance: getModelInstanceConfigStatus: type: string - enum: [pending, active, invalid, error, inactive] + enum: [pending, active, invalid, inactive] description: | `pending` - model has just been created and the pipelines are being set up for the first train & inference. \ - `active` - model is running and generating prediction. \ - `invalid` - model has failed training (ex. can’t retrieve data from source). An additional error field will be set for this status. \ + `active` - model is running and generating predictions. \ + `invalid` - model has failed training (ex. can’t retrieve data from source). An additional `errorMessage` field will be set for this status. \ `inactive` - model has been deactivated from the dashboard. Pipelines still exist but they are not currently running. modelMetrics: