From dc9cfa68f81b36ea036f2622b1160fd80bce3bb1 Mon Sep 17 00:00:00 2001 From: Joe Peeples Date: Fri, 21 Jul 2023 12:32:57 -0400 Subject: [PATCH 1/2] First draft --- .../management/connectors/action-types/gen-ai.asciidoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/management/connectors/action-types/gen-ai.asciidoc b/docs/management/connectors/action-types/gen-ai.asciidoc index dda7ebc3e190a..c5bc8fe615c6e 100644 --- a/docs/management/connectors/action-types/gen-ai.asciidoc +++ b/docs/management/connectors/action-types/gen-ai.asciidoc @@ -86,4 +86,12 @@ Body:: A JSON payload sent to the OpenAI API URL. For example: [[gen-ai-connector-networking-configuration]] === Connector networking configuration -Use the <> to customize connector networking configurations, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use `xpack.actions.customHostSettings` to set per-host configurations. \ No newline at end of file +Use the <> to customize connector networking configurations, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use `xpack.actions.customHostSettings` to set per-host configurations. + +[float] +[[gen-ai-connector-token-dashboard]] +=== Token usage dashboard + +Once you've created a Generative AI connector, you can monitor its token usage using the *Generative AI Token Usage* dashboard. Click the *View OpenAI Usage Dashboard for "__" Connector* link to open the dashboard. + +NOTE: To view the dashboard, you need at least `read` and `view_index_metadata` privileges for the `.kibana-event-log-*` index and the `Read` feature privilege for {kib}. You can set up a role with these minimum privileges and assign it to non-admin users who need to view this dashboard. From 242afce5ea0291f0d04ca364e6eb45ae8f08da7e Mon Sep 17 00:00:00 2001 From: Joe Peeples Date: Mon, 24 Jul 2023 16:31:44 -0400 Subject: [PATCH 2/2] Apply suggestions from Lisa's review --- docs/management/connectors/action-types/gen-ai.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/management/connectors/action-types/gen-ai.asciidoc b/docs/management/connectors/action-types/gen-ai.asciidoc index c5bc8fe615c6e..749e3dcd2c1e9 100644 --- a/docs/management/connectors/action-types/gen-ai.asciidoc +++ b/docs/management/connectors/action-types/gen-ai.asciidoc @@ -92,6 +92,6 @@ Use the <> to customize connecto [[gen-ai-connector-token-dashboard]] === Token usage dashboard -Once you've created a Generative AI connector, you can monitor its token usage using the *Generative AI Token Usage* dashboard. Click the *View OpenAI Usage Dashboard for "__" Connector* link to open the dashboard. +Once you've created a Generative AI connector, you can monitor its token usage using the *Generative AI Token Usage* dashboard. Select the connector in *{stack-manage-app}* > *{connectors-ui}* to view its details, then click the *View OpenAI Usage Dashboard for "__" Connector* link to open the dashboard. NOTE: To view the dashboard, you need at least `read` and `view_index_metadata` privileges for the `.kibana-event-log-*` index and the `Read` feature privilege for {kib}. You can set up a role with these minimum privileges and assign it to non-admin users who need to view this dashboard.