-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add Enterprise Search API endpoints for 1 Click ELSER ML Model Deployment #155213
Add Enterprise Search API endpoints for 1 Click ELSER ML Model Deployment #155213
Conversation
…-ref HEAD~1..HEAD --fix'
….com:markjhoy/kibana into markjhoy/4295_add_ELSER_ent_search_endpoints
…-ref HEAD~1..HEAD --fix'
….com:markjhoy/kibana into markjhoy/4295_add_ELSER_ent_search_endpoints
@markjhoy Great first draft, thanks! There are a couple of issues we need to sort out before ELSER download process can work properly:
|
Ah - gotcha - I wasn't 100% certain.... updated to check this.
Good catch. Updated.
Yep - hopefully that'll come soon...
I think that was some of the initial wording that was there, but subsequently changed... I've cleaned up the code better to reflect the current state of things. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, the TODOs and missing types make a little uneasy given where we are in release cycle.
trainedModelsProvider: MlTrainedModels | undefined | ||
): Promise<MlModelDeploymentStatus> => { | ||
if (!trainedModelsProvider) { | ||
throw new Error('Machine Learning is not enabled'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@demjened I think this is ok since we don't fetch model status if ml is disabled, but we should ensure thats the case.
100% agree... hopefully the missing types will be there before BC2 and we can alleviate these.... |
Just to confirm, there were two sets of missing types affecting this PR. The ones in the elasticsearch-js client, and the ones for ML's The elasticsearch-js client types I do not believe will make this version as historically a client update comes with a lot of types churn throughout kibana. |
…ELSER ML Model Deployment (#156040) ## Summary Backports #155213 to 8.8 (as it just barely missed the cut off and it's needed with other Enterprise Search work for 8.8) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Thanks @jgowdyelastic -- we also have a follow on task to check and update this in the future when things are available: https://github.com/elastic/enterprise-search-team/issues/4432 |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Removing version/backport labels because it's too late to add backports now. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Adds Enterprise Search internal API endpoints for deploying and monitoring the deployment status of an ELSER ML model (and possibly other models in the future) via the 1 click deployment process. This is to not allow a direct call from the Kibana front end to the underlying Elasticsearch ML endpoints.
Closes https://github.com/elastic/enterprise-search-team/issues/4295 and https://github.com/elastic/enterprise-search-team/issues/4397
Checklist
For maintainers