Skip to content

Commit d1f1b72

Browse files
[9.2] [Obs AI Assistant] Update Knowledge Base model label in AI Assistant settings (#239824) (#239832)
# Backport This will backport the following commits from `main` to `9.2`: - [[Obs AI Assistant] Update Knowledge Base model label in AI Assistant settings (#239824)](#239824) <!--- 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-10-21T01:19:18Z","message":"[Obs AI Assistant] Update Knowledge Base model label in AI Assistant settings (#239824)\n\nCloses https://github.com/elastic/kibana/issues/235256\n\n## Summary\n\nChanges `aiAssistantResponseLanguage` to `Semantic search model` as\n`aiAssistantResponseLanguage` doesn't represent the correct\nfunctionality of this feature.\n\n<img width=\"926\" height=\"326\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/60343884-c6e5-467b-bb2d-4e6a68ccb62d\"\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] 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)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.\n\n### Release note\n\nFixes Knowledge base model label in AI Assistant Setttings","sha":"790a11eb02c0e483ae07e191bb15de622bea87e0","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v9.2.0","v9.3.0"],"title":"[Obs AI Assistant] Update Knowledge Base model label in AI Assistant settings","number":239824,"url":"https://github.com/elastic/kibana/pull/239824","mergeCommit":{"message":"[Obs AI Assistant] Update Knowledge Base model label in AI Assistant settings (#239824)\n\nCloses https://github.com/elastic/kibana/issues/235256\n\n## Summary\n\nChanges `aiAssistantResponseLanguage` to `Semantic search model` as\n`aiAssistantResponseLanguage` doesn't represent the correct\nfunctionality of this feature.\n\n<img width=\"926\" height=\"326\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/60343884-c6e5-467b-bb2d-4e6a68ccb62d\"\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] 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)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.\n\n### Release note\n\nFixes Knowledge base model label in AI Assistant Setttings","sha":"790a11eb02c0e483ae07e191bb15de622bea87e0"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/239824","number":239824,"mergeCommit":{"message":"[Obs AI Assistant] Update Knowledge Base model label in AI Assistant settings (#239824)\n\nCloses https://github.com/elastic/kibana/issues/235256\n\n## Summary\n\nChanges `aiAssistantResponseLanguage` to `Semantic search model` as\n`aiAssistantResponseLanguage` doesn't represent the correct\nfunctionality of this feature.\n\n<img width=\"926\" height=\"326\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/60343884-c6e5-467b-bb2d-4e6a68ccb62d\"\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] 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)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.\n\n### Release note\n\nFixes Knowledge base model label in AI Assistant Setttings","sha":"790a11eb02c0e483ae07e191bb15de622bea87e0"}}]}] BACKPORT--> Co-authored-by: Viduni Wickramarachchi <[email protected]>
1 parent 14b00e3 commit d1f1b72

File tree

1 file changed

+7
-1
lines changed
  • x-pack/platform/plugins/private/observability_ai_assistant_management/public/routes/components/settings_tab

1 file changed

+7
-1
lines changed

x-pack/platform/plugins/private/observability_ai_assistant_management/public/routes/components/settings_tab/change_kb_model.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,13 @@ export function ChangeKbModel({
390390
</>
391391
}
392392
>
393-
<EuiFormRow fullWidth label="aiAssistantResponseLanguage">
393+
<EuiFormRow
394+
fullWidth
395+
label={i18n.translate(
396+
'xpack.observabilityAiAssistantManagement.knowledgeBase.semanticSearchModelLabel',
397+
{ defaultMessage: 'Semantic search model' }
398+
)}
399+
>
394400
{selectInferenceModelDropdown}
395401
</EuiFormRow>
396402
</EuiDescribedFormGroup>

0 commit comments

Comments
 (0)