From cd14218560f82d10c71bc43e12c27f31b9c0a09a Mon Sep 17 00:00:00 2001 From: ToriLindsay Date: Thu, 4 Sep 2025 16:08:12 +0100 Subject: [PATCH 1/3] [AI Gateway] Nav changes --- .../ai-gateway/evaluations/add-human-feedback.mdx | 6 ++++-- src/content/docs/ai-gateway/reference/audit-logs.mdx | 6 +++--- src/content/partials/ai-gateway/logging.mdx | 11 +++++++---- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx index b3e60f00043..ebd4294845c 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx @@ -5,6 +5,7 @@ sidebar: order: 3 hidden: true --- +import { DashButton } from "~/components"; Human feedback is a valuable metric to assess the performance of your AI models. By incorporating human feedback, you can gain deeper insights into how the model's responses are perceived and how well it performs from a user-centric perspective. This feedback can then be used in evaluations to calculate performance metrics, driving optimization and ultimately enhancing the reliability, accuracy, and efficiency of your AI application. @@ -16,8 +17,9 @@ On the next guide, you can [learn how to add human feedback via the API](/ai-gat ## 1. Log in to the dashboard -1. Log into the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account. -2. Go to **AI** > **AI Gateway**. +In the Cloudflare dashboard, go to the **AI Gateway** page. + + ## 2. Access the Logs tab diff --git a/src/content/docs/ai-gateway/reference/audit-logs.mdx b/src/content/docs/ai-gateway/reference/audit-logs.mdx index 75485f17049..93541d16951 100644 --- a/src/content/docs/ai-gateway/reference/audit-logs.mdx +++ b/src/content/docs/ai-gateway/reference/audit-logs.mdx @@ -3,15 +3,15 @@ title: Audit logs pcx_content_type: concept --- +import { DashButton } from "~/components"; [Audit logs](/fundamentals/account/account-security/review-audit-logs/) provide a comprehensive summary of changes made within your Cloudflare account, including those made to gateways in AI Gateway. This functionality is available on all plan types, free of charge, and is enabled by default. ## Viewing Audit Logs -To view audit logs for AI Gateway: +To view audit logs for AI Gateway, in the Cloudflare dashboard, go to the **Audit log** page. -1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. -2. Go to **Manage Account** > **Audit Log**. + For more information on how to access and use audit logs, refer to [review audit logs documentation](/fundamentals/account/account-security/review-audit-logs/). diff --git a/src/content/partials/ai-gateway/logging.mdx b/src/content/partials/ai-gateway/logging.mdx index 192179ae55d..ae7983b7565 100644 --- a/src/content/partials/ai-gateway/logging.mdx +++ b/src/content/partials/ai-gateway/logging.mdx @@ -1,10 +1,13 @@ --- {} --- +import { DashButton } from "~/components"; To change the default log configuration in the dashboard: -1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account. -2. Go to **AI** > **AI Gateway**. -3. Select **Settings**. -4. Change the **Logs** setting to your preference. +1. In the Cloudflare dashboard, go to the **AI Gateway** page. + + + +2. Select **Settings**. +3. Change the **Logs** setting to your preference. From 76cb04a2b93dbbc8f22f9ae83d6fcffd9f52cfa6 Mon Sep 17 00:00:00 2001 From: ToriLindsay Date: Fri, 5 Sep 2025 08:56:45 +0100 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> --- src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx | 2 +- src/content/docs/ai-gateway/reference/audit-logs.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx index ebd4294845c..5d4fe88e1c4 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx @@ -19,7 +19,7 @@ On the next guide, you can [learn how to add human feedback via the API](/ai-gat In the Cloudflare dashboard, go to the **AI Gateway** page. - + ## 2. Access the Logs tab diff --git a/src/content/docs/ai-gateway/reference/audit-logs.mdx b/src/content/docs/ai-gateway/reference/audit-logs.mdx index 93541d16951..00acac9219c 100644 --- a/src/content/docs/ai-gateway/reference/audit-logs.mdx +++ b/src/content/docs/ai-gateway/reference/audit-logs.mdx @@ -9,7 +9,7 @@ import { DashButton } from "~/components"; ## Viewing Audit Logs -To view audit logs for AI Gateway, in the Cloudflare dashboard, go to the **Audit log** page. +To view audit logs for AI Gateway, in the Cloudflare dashboard, go to the **Audit logs** page. From 10a6384ba11d1ba5eed5478a796eef351d15b2f3 Mon Sep 17 00:00:00 2001 From: ToriLindsay Date: Fri, 5 Sep 2025 09:21:44 +0100 Subject: [PATCH 3/3] Remove extra link --- src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx index 5d4fe88e1c4..01e989811f3 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx @@ -11,7 +11,7 @@ Human feedback is a valuable metric to assess the performance of your AI models. Human feedback measures the performance of your dataset based on direct human input. The metric is calculated as the percentage of positive feedback (thumbs up) given on logs, which are annotated in the Logs tab of the Cloudflare dashboard. This feedback helps refine model performance by considering real-world evaluations of its output. -This tutorial will guide you through the process of adding human feedback to your evaluations in AI Gateway using the [Cloudflare dashboard](https://dash.cloudflare.com/). +This tutorial will guide you through the process of adding human feedback to your evaluations in AI Gateway using the Cloudflare dashboard. On the next guide, you can [learn how to add human feedback via the API](/ai-gateway/evaluations/add-human-feedback-api/).