mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fixes https://github.com/elastic/kibana/issues/169771 Adds a new endpoint `/internal/ml/trained_models/install_elastic_trained_model/:modelId` which wraps the `putTrainedModel` call to start the download of the elser model. It then reassigns the saved object's space to be `*`. Also updates the saved object sync call to ensure any internal models (ones which start with `.`) are assigned to the `*` space, if they've needed syncing. It is still possible for a user to reassign the spaces for an elser model and get themselves into the situation covered described in https://github.com/elastic/kibana/issues/169771. In this situation, I believe the best we can do is suggest the user adjusts the spaces via the stack management page. At the moment a `Model already exists` error is displayed in a toast. In a follow up PR we could catch this and show more information to direct the user to the stack management page. --------- Co-authored-by: Dima Arnautov <arnautov.dima@gmail.com> |
||
---|---|---|
.. | ||
annotation_service | ||
bucket_span_estimator | ||
calculate_model_memory_limit | ||
calendar | ||
data_frame_analytics | ||
data_recognizer | ||
data_visualizer | ||
fields_service | ||
filter | ||
job_audit_messages | ||
job_service | ||
job_validation | ||
json_schema_service | ||
model_management | ||
notifications_service | ||
results_service |