From 604b341425236ca83ba8ba1c85c433669cfa3ed1 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 24 Mar 2025 19:04:29 +0100 Subject: [PATCH] [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) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) Co-authored-by: Viduni Wickramarachchi --- .../public/connector_types/inference/inference.test.tsx | 2 +- .../public/connector_types/inference/inference.tsx | 2 +- .../search_playground/public/hooks/use_llms_models.test.ts | 4 ++-- .../plugins/search_playground/public/hooks/use_llms_models.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx index 352a0fcfbe2b..e4187c04cd5e 100644 --- a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx @@ -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'); }); diff --git a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx index 388da0556801..13306224a277 100644 --- a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx @@ -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 ( diff --git a/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.test.ts index 95ea9be21fff..d416791df38f 100644 --- a/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.test.ts +++ b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.test.ts @@ -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, diff --git a/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.ts index 9921a071653d..abf1344e3efa 100644 --- a/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.ts +++ b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.ts @@ -88,7 +88,7 @@ const mapLlmToModels: Record< getModels: (connectorName) => [ { label: i18n.translate('xpack.searchPlayground.inferenceModel', { - defaultMessage: '{name} (AI Connector)', + defaultMessage: '{name}', values: { name: connectorName }, }), },