[8.8] [Enterprise Search] Switch to production ELSER model (#156565) (#156577)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Enterprise Search] Switch to production ELSER model
(#156565)](https://github.com/elastic/kibana/pull/156565)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Adam
Demjen","email":"demjened@gmail.com"},"sourceCommit":{"committedDate":"2023-05-03T15:55:22Z","message":"[Enterprise
Search] Switch to production ELSER model (#156565)\n\n##
Summary\r\n\r\nThis PR switches the ELSER model to the production one
`.elser_model_1`.\r\n\r\nThis has been manually tested with the
Elasticsearch [8.8.0-SNAPSHOT\r\nDocker image from
May\r\n2](235962097-9b7c15b5-2249-4900-b358-9f2906e3d10e.gif)","sha":"8f0103cf165937ce1f7ec3910e430c6e0fe9d096","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.8.0","v8.9.0"],"number":156565,"url":"https://github.com/elastic/kibana/pull/156565","mergeCommit":{"message":"[Enterprise
Search] Switch to production ELSER model (#156565)\n\n##
Summary\r\n\r\nThis PR switches the ELSER model to the production one
`.elser_model_1`.\r\n\r\nThis has been manually tested with the
Elasticsearch [8.8.0-SNAPSHOT\r\nDocker image from
May\r\n2](235962097-9b7c15b5-2249-4900-b358-9f2906e3d10e.gif)","sha":"8f0103cf165937ce1f7ec3910e430c6e0fe9d096"}},"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/156565","number":156565,"mergeCommit":{"message":"[Enterprise
Search] Switch to production ELSER model (#156565)\n\n##
Summary\r\n\r\nThis PR switches the ELSER model to the production one
`.elser_model_1`.\r\n\r\nThis has been manually tested with the
Elasticsearch [8.8.0-SNAPSHOT\r\nDocker image from
May\r\n2](235962097-9b7c15b5-2249-4900-b358-9f2906e3d10e.gif)","sha":"8f0103cf165937ce1f7ec3910e430c6e0fe9d096"}}]}]
BACKPORT-->

Co-authored-by: Adam Demjen <demjened@gmail.com>
This commit is contained in:
Kibana Machine 2023-05-03 13:06:07 -04:00 committed by GitHub
parent 6d6c94abd4
commit d881c9a852
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ import {
export const TEXT_EXPANSION_TYPE = SUPPORTED_PYTORCH_TASKS.TEXT_EXPANSION;
export const TEXT_EXPANSION_FRIENDLY_TYPE = 'ELSER';
export const ML_INFERENCE_PREFIX = 'ml.inference.';
export const ELSER_MODEL_ID = '.elser_model_1_SNAPSHOT';
export const ELSER_MODEL_ID = '.elser_model_1';
export interface MlInferencePipelineParams {
description?: string;