From 882e5d436619fbb2a86f633cb79c645146e40d98 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 26 Jul 2023 12:21:17 -0400 Subject: [PATCH] [8.9] [DOCS] Document Generative AI Token Usage dashboard in Gen AI connector (#162374) (#162585) # Backport This will backport the following commits from `main` to `8.9`: - [[DOCS] Document Generative AI Token Usage dashboard in Gen AI connector (#162374)](https://github.com/elastic/kibana/pull/162374) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Joe Peeples --- .../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..749e3dcd2c1e9 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. 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.