You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model is more-or-less hard coded to /anomaly/prediction
Context
#368 sets the return code from /anomaly/prediction as 422 Unprocessable Entity if the model is not capable of doing anomaly detection.
Potential solution(s)
Should now be able to set the client to always try /anomaly/prediction first and then switch endpoints to /prediction should the return code be 422
Otherwise we'll need to update the model's metadata to reflect what type of model it is and then decide in the client which endpoint to connect to based on that.
The text was updated successfully, but these errors were encountered:
Problem
Model is more-or-less hard coded to
/anomaly/prediction
Context
#368 sets the return code from
/anomaly/prediction
as422 Unprocessable Entity
if the model is not capable of doing anomaly detection.Potential solution(s)
Should now be able to set the
client
to always try/anomaly/prediction
first and then switch endpoints to/prediction
should the return code be422
Otherwise we'll need to update the model's metadata to reflect what type of model it is and then decide in the client which endpoint to connect to based on that.
The text was updated successfully, but these errors were encountered: