[ML] Add special handling for built-in lang-ident model #85179
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Data Frame Analytics
ML data frame analytics features
:ml
usability
v7.12.0
Found in 7.11.0-SNAPSHOT
Usability issues identified:
Details
When viewing DFA models, the
![image](https://user-images.githubusercontent.com/4185750/101389820-dcd53e80-38b9-11eb-869d-2aa28c01e66c.png)
lang_ident_model_1
built-in model is visible. This does not have a "type". It is both classification and a special system/built-in model.The
GET model
JSON doc does not conform to a standard DFA classification model so this would be why it is currently type-less.Suggest
a) seeing if we can update the lang-ident JSON so it looks like classification.
b) if we are allowed two types, then add
classification
andbuilt-in
The UI allows me to try to delete it - which fails with a non-informative error:
![image](https://user-images.githubusercontent.com/4185750/101389218-004bb980-38b9-11eb-940f-b4c0d4218203.png)
The expansion is also non-informative:
If I try to delete using the API, the error message is marginally better.
Suggest
a) Make the API error more informative
b) Generally, avoid suppressing the elasticsearch API errors
it's probably wise to prevent the user from being able to delete this model - can we hide the button
(Only do this if we can give it a
built-in
type, otherwise we'll understandably get questions about "why can't I delete it?".)We can give pre-trained models a description. We have not exposed the ability to update the model description and models created by DFA do not have one. However if you train a model externally then you can add a description and we may allow the user to update the description at some point.
The row expansion should display the model description if there is one.
The text was updated successfully, but these errors were encountered: