From 90c80f2fb24ef6c2e4e22bb313dd8aa966467c88 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Mon, 28 Oct 2024 21:26:33 +0000 Subject: [PATCH 1/4] Added description to show different ways of how to add human feedback --- .../docs/ai-gateway/evaluations/add-human-feedback.mdx | 6 ++++-- 1 file changed, 4 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 b251a827c3d11e..77a7d63ab9880d 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback.mdx @@ -1,6 +1,6 @@ --- pcx_content_type: how-to -title: Add Human Feedback +title: Add Human Feedback using Dashboard sidebar: order: 3 --- @@ -9,7 +9,9 @@ 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. +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/). + +On the next guide, you can [learn how to add human feedback via the API](/ai-gateway/evaluations/add-human-feedback-api/). ## 1. Log in to the dashboard From 3349036b901d1844ba4767fbedfd799bb20f1a9b Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 29 Oct 2024 15:01:21 +0000 Subject: [PATCH 2/4] add link to dashboard tutorial --- .../docs/ai-gateway/evaluations/add-human-feedback-api.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx b/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx index a74c9c2710e384..1e92924782d033 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx @@ -6,6 +6,7 @@ sidebar: --- This guide will walk you through the steps of adding human feedback to an AI Gateway request using the Cloudflare API. You will learn how to retrieve the relevant request logs, and submit feedback using the API. +You can [learn how to add human feedback via the dashboard](/ai-gateway/evaluations/add-human-feedback/) on this tutorial. ## 1. Create an API Token From 9617990bd413fb77cf743192f2f5549397ec35ee Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 29 Oct 2024 16:45:11 +0000 Subject: [PATCH 3/4] Reworded sentence --- .../docs/ai-gateway/evaluations/add-human-feedback-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx b/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx index 1e92924782d033..3875891d5d7ebc 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx @@ -6,7 +6,7 @@ sidebar: --- This guide will walk you through the steps of adding human feedback to an AI Gateway request using the Cloudflare API. You will learn how to retrieve the relevant request logs, and submit feedback using the API. -You can [learn how to add human feedback via the dashboard](/ai-gateway/evaluations/add-human-feedback/) on this tutorial. +If you prefer to add human feedback via the dashboard,](/ai-gateway/evaluations/add-human-feedback/) ypu can learn how to on this tutorial. ## 1. Create an API Token From 1f893bc91d37698ef3b2e14d4f6c3475c6c8750c Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 29 Oct 2024 16:54:51 +0000 Subject: [PATCH 4/4] Update src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx Co-authored-by: Jun Lee --- .../docs/ai-gateway/evaluations/add-human-feedback-api.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx b/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx index 3875891d5d7ebc..2ec51f6e36ad97 100644 --- a/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx +++ b/src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx @@ -6,7 +6,8 @@ sidebar: --- This guide will walk you through the steps of adding human feedback to an AI Gateway request using the Cloudflare API. You will learn how to retrieve the relevant request logs, and submit feedback using the API. -If you prefer to add human feedback via the dashboard,](/ai-gateway/evaluations/add-human-feedback/) ypu can learn how to on this tutorial. + +If you prefer to add human feedback via the dashboard, refer to [Add Human Feedback](/ai-gateway/evaluations/add-human-feedback/). ## 1. Create an API Token