Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(specs): update model response #1034

Merged
merged 1 commit into from
Sep 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions specs/predict/responses/Models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down