-
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
[Enterprise Search] fix(index inference pipelines): fetch models on elser deploy #157318
[Enterprise Search] fix(index inference pipelines): fetch models on elser deploy #157318
Conversation
Updated the inference pipeline flyout logic to refetch ml models when the user deploys the ELSER text expansion model. This will allow them to select the model if they deploy it from the flyout.
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
@@ -156,6 +160,7 @@ interface MLInferenceProcessorsActions { | |||
setInferencePipelineConfiguration: (configuration: InferencePipelineConfiguration) => { | |||
configuration: InferencePipelineConfiguration; | |||
}; | |||
startTextExpansionModelSuccess: StartTextExpansionModelApiLogicActions['apiSuccess']; |
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.
@TattdCodeMonkey I believe the desired behavior is to update the list after the model download has begun (so after "create text expansion model"). A success response from that API indicates that the ELSER model placeholder has been created, so the user can start referencing it in a pipeline while the download is running.
…lser deploy (elastic#157318) ## Summary Updated the inference pipeline flyout logic to refetch ml models when the user deploys the ELSER text expansion model. This will allow them to select the model if they deploy it from the flyout. https://github.com/elastic/kibana/assets/1972968/25916c61-cdad-4213-8034-265aaac1f945 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit efac422)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…s on elser deploy (#157318) (#157393) # Backport This will backport the following commits from `main` to `8.8`: - [[Enterprise Search] fix(index inference pipelines): fetch models on elser deploy (#157318)](#157318) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Rodney Norris","email":"rodney.norris@elastic.co"},"sourceCommit":{"committedDate":"2023-05-11T13:53:26Z","message":"[Enterprise Search] fix(index inference pipelines): fetch models on elser deploy (#157318)\n\n## Summary\r\n\r\nUpdated the inference pipeline flyout logic to refetch ml models when\r\nthe user deploys the ELSER text expansion model. This will allow them to\r\nselect the model if they deploy it from the flyout.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1972968/25916c61-cdad-4213-8034-265aaac1f945\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"efac422e192765c4db9dc0146c37c71ee4a5e653","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","Team:EnterpriseSearch","v8.8.0","v8.9.0"],"number":157318,"url":"https://github.com/elastic/kibana/pull/157318","mergeCommit":{"message":"[Enterprise Search] fix(index inference pipelines): fetch models on elser deploy (#157318)\n\n## Summary\r\n\r\nUpdated the inference pipeline flyout logic to refetch ml models when\r\nthe user deploys the ELSER text expansion model. This will allow them to\r\nselect the model if they deploy it from the flyout.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1972968/25916c61-cdad-4213-8034-265aaac1f945\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"efac422e192765c4db9dc0146c37c71ee4a5e653"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157318","number":157318,"mergeCommit":{"message":"[Enterprise Search] fix(index inference pipelines): fetch models on elser deploy (#157318)\n\n## Summary\r\n\r\nUpdated the inference pipeline flyout logic to refetch ml models when\r\nthe user deploys the ELSER text expansion model. This will allow them to\r\nselect the model if they deploy it from the flyout.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1972968/25916c61-cdad-4213-8034-265aaac1f945\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"efac422e192765c4db9dc0146c37c71ee4a5e653"}}]}] BACKPORT--> Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
Summary
Updated the inference pipeline flyout logic to refetch ml models when the user deploys the ELSER text expansion model. This will allow them to select the model if they deploy it from the flyout.
Screen.Recording.2023-05-10.at.1.46.15.PM.mov