Commit defd004
[8.19] [Obs AI Assistant] Enable ELSER and e5 on EIS (elastic#220993) (elastic#221148)
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Obs AI Assistant] Enable ELSER and e5 on EIS
(elastic#220993)](elastic#220993)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-05-21T15:43:32Z","message":"[Obs
AI Assistant] Enable ELSER and e5 on EIS (elastic#220993)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/246\n\n##
Summary\n\nThe EIS pre-configured endpoint for ELSER is accessible in
the QA\nenvironment (It's not on Prod yet).\n\nAt present the KB
`/status` endpoint checks for trained model stats in\norder to determine
whether the model is downloaded and deployed and\nready to be used. This
flow is not necessary for EIS endpoints as there\nwill be no model
downloading and deploying.\n\nThis PR implements the necessary changes
to the flow of the `/status`\nendpoint:\n- If the pre-configured
endpoint exists, we can assume the KB is ready\nto be used.\n\n## Screen
recording\n\n### ELSER via
EIS\n\nhttps://github.com/user-attachments/assets/0595e240-0c4a-4b01-9064-5de1c452ce4b\n\n###
e5-small on ML
node\n\nhttps://github.com/user-attachments/assets/3b7f9710-8fca-4334-a561-e8e5097e3ab0\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"3337a088693b793af94c86f48c86b000c6dd80da","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:feature","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0"],"title":"[Obs
AI Assistant] Enable ELSER and e5 on
EIS","number":220993,"url":"https://github.com/elastic/kibana/pull/220993","mergeCommit":{"message":"[Obs
AI Assistant] Enable ELSER and e5 on EIS (elastic#220993)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/246\n\n##
Summary\n\nThe EIS pre-configured endpoint for ELSER is accessible in
the QA\nenvironment (It's not on Prod yet).\n\nAt present the KB
`/status` endpoint checks for trained model stats in\norder to determine
whether the model is downloaded and deployed and\nready to be used. This
flow is not necessary for EIS endpoints as there\nwill be no model
downloading and deploying.\n\nThis PR implements the necessary changes
to the flow of the `/status`\nendpoint:\n- If the pre-configured
endpoint exists, we can assume the KB is ready\nto be used.\n\n## Screen
recording\n\n### ELSER via
EIS\n\nhttps://github.com/user-attachments/assets/0595e240-0c4a-4b01-9064-5de1c452ce4b\n\n###
e5-small on ML
node\n\nhttps://github.com/user-attachments/assets/3b7f9710-8fca-4334-a561-e8e5097e3ab0\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"3337a088693b793af94c86f48c86b000c6dd80da"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220993","number":220993,"mergeCommit":{"message":"[Obs
AI Assistant] Enable ELSER and e5 on EIS (elastic#220993)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/246\n\n##
Summary\n\nThe EIS pre-configured endpoint for ELSER is accessible in
the QA\nenvironment (It's not on Prod yet).\n\nAt present the KB
`/status` endpoint checks for trained model stats in\norder to determine
whether the model is downloaded and deployed and\nready to be used. This
flow is not necessary for EIS endpoints as there\nwill be no model
downloading and deploying.\n\nThis PR implements the necessary changes
to the flow of the `/status`\nendpoint:\n- If the pre-configured
endpoint exists, we can assume the KB is ready\nto be used.\n\n## Screen
recording\n\n### ELSER via
EIS\n\nhttps://github.com/user-attachments/assets/0595e240-0c4a-4b01-9064-5de1c452ce4b\n\n###
e5-small on ML
node\n\nhttps://github.com/user-attachments/assets/3b7f9710-8fca-4334-a561-e8e5097e3ab0\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"3337a088693b793af94c86f48c86b000c6dd80da"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Viduni Wickramarachchi <[email protected]>1 parent f613896 commit defd004
File tree
6 files changed
+115
-1
lines changed- x-pack/platform
6 files changed
+115
-1
lines changedLines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
47 | 98 | | |
48 | 99 | | |
49 | 100 | | |
| |||
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
51 | 68 | | |
52 | 69 | | |
53 | 70 | | |
| |||
56 | 73 | | |
57 | 74 | | |
58 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
59 | 80 | | |
60 | 81 | | |
61 | 82 | | |
62 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
63 | 88 | | |
64 | 89 | | |
65 | 90 | | |
66 | 91 | | |
67 | 92 | | |
68 | 93 | | |
69 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
70 | 98 | | |
71 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
72 | 110 | | |
73 | 111 | | |
74 | 112 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
137 | 153 | | |
138 | 154 | | |
139 | 155 | | |
| |||
242 | 258 | | |
243 | 259 | | |
244 | 260 | | |
| 261 | + | |
| 262 | + | |
245 | 263 | | |
246 | 264 | | |
247 | 265 | | |
| |||
0 commit comments