[8.18] [Obs AI Assistant] Update EIS Elastic LLM naming (#215659) (#215751)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Obs AI Assistant] Update EIS Elastic LLM naming
(#215659)](https://github.com/elastic/kibana/pull/215659)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-03-24T16:11:19Z","message":"[Obs
AI Assistant] Update EIS Elastic LLM naming (#215659)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/236\n\n##
Summary\n\n1. Renames name of model in model settings in search
playground from\n`Elastic LLM (AI Connector)` to `Elastic LLM`.\n\n<img
width=\"1616\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/0be2ac02-1fcf-4167-b06e-de2e5af2f529\"\n/>\n\n2.
Renames the description of the Elastic LLM in the stack
connector\nflyout to `Use the Elastic LLM for your chat and RAG
usecases.`\n\n<img width=\"1620\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/15ad52de-c916-4653-bf06-ccf4adeff170\"\n/>\n\n###
Checklist\n\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":"1c738f6e1386e09569b0568d2ce656c8a0930f29","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs
AI
Assistant","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Obs
AI Assistant] Update EIS Elastic LLM
naming","number":215659,"url":"https://github.com/elastic/kibana/pull/215659","mergeCommit":{"message":"[Obs
AI Assistant] Update EIS Elastic LLM naming (#215659)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/236\n\n##
Summary\n\n1. Renames name of model in model settings in search
playground from\n`Elastic LLM (AI Connector)` to `Elastic LLM`.\n\n<img
width=\"1616\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/0be2ac02-1fcf-4167-b06e-de2e5af2f529\"\n/>\n\n2.
Renames the description of the Elastic LLM in the stack
connector\nflyout to `Use the Elastic LLM for your chat and RAG
usecases.`\n\n<img width=\"1620\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/15ad52de-c916-4653-bf06-ccf4adeff170\"\n/>\n\n###
Checklist\n\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":"1c738f6e1386e09569b0568d2ce656c8a0930f29"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215659","number":215659,"mergeCommit":{"message":"[Obs
AI Assistant] Update EIS Elastic LLM naming (#215659)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/236\n\n##
Summary\n\n1. Renames name of model in model settings in search
playground from\n`Elastic LLM (AI Connector)` to `Elastic LLM`.\n\n<img
width=\"1616\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/0be2ac02-1fcf-4167-b06e-de2e5af2f529\"\n/>\n\n2.
Renames the description of the Elastic LLM in the stack
connector\nflyout to `Use the Elastic LLM for your chat and RAG
usecases.`\n\n<img width=\"1620\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/15ad52de-c916-4653-bf06-ccf4adeff170\"\n/>\n\n###
Checklist\n\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":"1c738f6e1386e09569b0568d2ce656c8a0930f29"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <viduni.wickramarachchi@elastic.co>
This commit is contained in:
Kibana Machine 2025-03-24 19:04:29 +01:00 committed by GitHub
parent 35786f153d
commit 604b341425
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ describe('actionTypeRegistry.get() works', () => {
test('connector type static data is as expected', () => {
expect(actionTypeModel.id).toEqual(ACTION_TYPE_ID);
expect(actionTypeModel.selectMessage).toBe(
'Send requests to AI providers such as Amazon Bedrock, OpenAI and more.'
'Use the Elastic LLM for your chat and RAG usecases.'
);
expect(actionTypeModel.actionTypeTitle).toBe('AI Connector');
});

View file

@ -31,7 +31,7 @@ export function getConnectorType(): InferenceConnector {
iconClass: 'sparkles',
isExperimental: true,
selectMessage: i18n.translate('xpack.stackConnectors.components.inference.selectMessageText', {
defaultMessage: 'Send requests to AI providers such as Amazon Bedrock, OpenAI and more.',
defaultMessage: 'Use the Elastic LLM for your chat and RAG usecases.',
}),
actionTypeTitle: INFERENCE_CONNECTOR_TITLE,
validateParams: async (

View file

@ -131,8 +131,8 @@ describe('useLLMsModels Hook', () => {
connectorType: LLMs.inference,
disabled: false,
icon: expect.any(String),
id: 'connectorId4EIS Connector (AI Connector)',
name: 'EIS Connector (AI Connector)',
id: 'connectorId4EIS Connector',
name: 'EIS Connector',
showConnectorName: false,
value: undefined,
promptTokenLimit: undefined,

View file

@ -88,7 +88,7 @@ const mapLlmToModels: Record<
getModels: (connectorName) => [
{
label: i18n.translate('xpack.searchPlayground.inferenceModel', {
defaultMessage: '{name} (AI Connector)',
defaultMessage: '{name}',
values: { name: connectorName },
}),
},