diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index 37d092702720d..2946df47c2ff8 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -1089,6 +1089,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D inferenceAPIDocumentation: isServerless ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-inference-put` : `${ELASTICSEARCH_APIS}operation/operation-inference-put`, + featureSettings: `${ELASTIC_DOCS}explore-analyze/ai-features/manage-access-to-ai-assistant`, + externalInference: `${ELASTIC_DOCS}explore-analyze/elastic-inference/external`, }, synonyms: { synonymsAPIDocumentation: isServerless diff --git a/src/platform/packages/shared/kbn-doc-links/src/types.ts b/src/platform/packages/shared/kbn-doc-links/src/types.ts index 7c3ab892b689f..fff8fa999538b 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/types.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/types.ts @@ -707,6 +707,8 @@ export interface DocLinks { }; readonly inferenceManagement: { readonly inferenceAPIDocumentation: string; + readonly featureSettings: string; + readonly externalInference: string; }; readonly synonyms: { readonly synonymsAPIDocumentation: string; diff --git a/x-pack/platform/plugins/shared/search_inference_endpoints/common/doc_links.ts b/x-pack/platform/plugins/shared/search_inference_endpoints/common/doc_links.ts index c2b3348b8bf88..55ecd68b865ca 100644 --- a/x-pack/platform/plugins/shared/search_inference_endpoints/common/doc_links.ts +++ b/x-pack/platform/plugins/shared/search_inference_endpoints/common/doc_links.ts @@ -12,7 +12,8 @@ class InferenceEndpointsDocLinks { public elasticInferenceService: string = ''; public semanticSearchElser: string = ''; public semanticSearchE5: string = ''; - + public featureSettings: string = ''; + public externalInference: string = ''; constructor() {} setDocLinks(newDocLinks: DocLinks) { @@ -20,6 +21,8 @@ class InferenceEndpointsDocLinks { this.elasticInferenceService = newDocLinks.enterpriseSearch.elasticInferenceService; this.semanticSearchElser = newDocLinks.enterpriseSearch.elser; this.semanticSearchE5 = newDocLinks.enterpriseSearch.e5Model; + this.featureSettings = newDocLinks.inferenceManagement.featureSettings; + this.externalInference = newDocLinks.inferenceManagement.externalInference; } } diff --git a/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/external_inference_empty_prompt.tsx b/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/external_inference_empty_prompt.tsx index e79b9c5c0dea3..9e49a55839271 100644 --- a/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/external_inference_empty_prompt.tsx +++ b/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/external_inference_empty_prompt.tsx @@ -53,7 +53,7 @@ export const ExternalInferenceEmptyPrompt: React.FC { ); expect( - screen.getByText('Features can allow users to select other models than the default.') + screen.getByText('Users can choose between multiple models for each feature.') ).toBeInTheDocument(); }); diff --git a/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/default_model_section.tsx b/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/default_model_section.tsx index 741c979284073..40a5680252a4e 100644 --- a/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/default_model_section.tsx +++ b/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/default_model_section.tsx @@ -228,8 +228,7 @@ export const DefaultModelSection: React.FC = ({ defaultModelSettings }) = : i18n.translate( 'xpack.searchInferenceEndpoints.settings.defaultModel.allowOtherModels.description', { - defaultMessage: - 'Features can allow users to select other models than the default.', + defaultMessage: 'Users can choose between multiple models for each feature.', } )} diff --git a/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/model_settings.tsx b/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/model_settings.tsx index 563f0c985c582..0f77e2746576d 100644 --- a/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/model_settings.tsx +++ b/x-pack/platform/plugins/shared/search_inference_endpoints/public/components/settings/model_settings.tsx @@ -161,10 +161,10 @@ export const ModelSettings: React.FC = () => { flush="both" target="_blank" data-test-subj="settings-api-documentation" - href={docLinks.createInferenceEndpoint} + href={docLinks.featureSettings} > - {i18n.translate('xpack.searchInferenceEndpoints.apiDocumentationLink', { - defaultMessage: 'API Documentation', + {i18n.translate('xpack.searchInferenceEndpoints.settings.documentationLabel', { + defaultMessage: 'Documentation', })} , ]}