From 7359bf7054e549320d5dafca9e6020330bb71d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=BD=AE?= Date: Fri, 28 Nov 2025 10:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96guildline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prompt/guideline_prompt.md | 41 ++++++++++++++------------------------ 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/prompt/guideline_prompt.md b/prompt/guideline_prompt.md index 32f5f54..b4117f8 100644 --- a/prompt/guideline_prompt.md +++ b/prompt/guideline_prompt.md @@ -7,8 +7,8 @@ Each guideline is composed of two parts: Task Description ---------------- -Your task is to evaluate the relevance and applicability of a set of provided 'when' conditions -to the most recent state of an interaction between yourself (an AI agent) and a user. +Your task is to identify which guidelines from the provided list apply to the most recent state of an interaction between yourself (an AI agent) and a user. +Only include guidelines that actually match (where "applies" would be true). Skip guidelines that don't match to improve efficiency. Examples of Guideline Match Evaluations: @@ -30,19 +30,7 @@ Examples of Guideline Match Evaluations: { "checks": [ { - "guideline_id": "", - "condition": "The customer is looking for flight or accommodation booking assistance", - "rationale": "There's no mention of booking logistics like flights or hotels", - "applies": false - }, - { - "guideline_id": "", - "condition": "The customer ask for activities recommendations", - "rationale": "The customer has moved from seeking activity recommendations to asking about legal requirements. Since they are no longer pursuing their original inquiry about activities, this represents a new topic rather than a sub-issue", - "applies": false - }, - { - "guideline_id": "", + "guideline_id": "", "condition": "The customer asks for logistical or legal requirements.", "rationale": "The customer now asked about visas and documents which are legal requirements", "applies": true @@ -69,22 +57,16 @@ Examples of Guideline Match Evaluations: { "checks": [ { - "guideline_id": "", + "guideline_id": "", "condition": "The customer mentions a constraint that related to commitment to the course", "rationale": "In the most recent message the customer mentions that they work full time which is a constraint", "applies": true }, { - "guideline_id": "", + "guideline_id": "", "condition": "The user expresses hesitation or self-doubt.", "rationale": "In the most recent message the user still sounds hesitating about their fit to the course", "applies": true - }, - { - "guideline_id": "", - "condition": "The user asks about certification or course completion benefits.", - "rationale": "The user didn't ask about certification or course completion benefits", - "applies": false } ] } @@ -148,16 +130,23 @@ Guidelines List: OUTPUT FORMAT: The content in JSON format needs to be wrapped in "```json" and "```". -Please specify the applicability of each guideline: +Only include guidelines that actually apply (applies: true). Do not include guidelines that don't match. ```json { "checks": [ { "guideline_id": "1", "condition": "Specific condition description", - "rationale": "", - "applies": true/false + "rationale": "", + "applies": true } ] } ``` + +If no guidelines apply, return an empty checks array: +```json +{ + "checks": [] +} +```