diff --git a/docs/management/connectors/action-types/gen-ai.asciidoc b/docs/management/connectors/action-types/gen-ai.asciidoc index 5e1b3553309ac..6388a483e7fc3 100644 --- a/docs/management/connectors/action-types/gen-ai.asciidoc +++ b/docs/management/connectors/action-types/gen-ai.asciidoc @@ -27,10 +27,11 @@ image::management/connectors/images/gen-ai-connector.png[Generative AI connector Generative AI connectors have the following configuration properties: -Name:: The name of the connector. -API Provider:: The OpenAI API provider, either OpenAI or Azure OpenAI. -API URL:: The OpenAI request URL. -API Key:: The OpenAI or Azure OpenAI API key for authentication. +Name:: The name of the connector. +OpenAI provider:: The OpenAI API provider, either OpenAI or Azure OpenAI. +URL:: The OpenAI request URL. +Default model:: (optional) The default model to use for requests. This option is available only when the provider is `OpenAI`. +API key:: The OpenAI or Azure OpenAI API key for authentication. [float] [[gen-ai-action-configuration]] diff --git a/docs/management/connectors/images/gen-ai-connector.png b/docs/management/connectors/images/gen-ai-connector.png index e84205723d7cd..4c737414d4e72 100644 Binary files a/docs/management/connectors/images/gen-ai-connector.png and b/docs/management/connectors/images/gen-ai-connector.png differ diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/constants.tsx b/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/constants.tsx index fc06a88fc91fb..ab7f18e2be00f 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/constants.tsx +++ b/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/constants.tsx @@ -58,19 +58,8 @@ export const openAiConfig: ConfigFieldSchema[] = [ label: i18n.DEFAULT_MODEL_LABEL, helpText: ( - {`${i18n.OPEN_AI} ${i18n.DOCUMENTATION}`} - - ), - }} /> ), defaultValue: DEFAULT_OPENAI_MODEL, diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/translations.ts b/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/translations.ts index a407413faa791..ef6ccd07d386b 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/translations.ts +++ b/x-pack/plugins/stack_connectors/public/connector_types/gen_ai/translations.ts @@ -15,7 +15,7 @@ export const API_URL_LABEL = i18n.translate( ); export const API_KEY_LABEL = i18n.translate('xpack.stackConnectors.components.genAi.apiKeySecret', { - defaultMessage: 'API Key', + defaultMessage: 'API key', }); export const DEFAULT_MODEL_LABEL = i18n.translate( @@ -28,8 +28,7 @@ export const DEFAULT_MODEL_LABEL = i18n.translate( export const DEFAULT_MODEL_TOOLTIP_CONTENT = i18n.translate( 'xpack.stackConnectors.components.genAi.defaultModelTooltipContent', { - defaultMessage: - 'The model can be set on a per request basis by including a "model" parameter in the request body. If no model is provided, the fallback will be the default model.', + defaultMessage: 'If a request does not include a model, it uses the default.', } );