优化guildline
This commit is contained in:
parent
fb34d45735
commit
7359bf7054
@ -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": "<example-id-for-few-shots--do-not-use-this-in-output>",
|
||||
"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": "<example-id-for-few-shots--do-not-use-this-in-output>",
|
||||
"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": "<example-id-for-few-shots--do-not-use-this-in-output>",
|
||||
"guideline_id": "<example-id-for-few-shots--do-not-use-this-output>",
|
||||
"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": "<example-id-for-few-shots--do-not-use-this-in-output>",
|
||||
"guideline_id": "<example-id-for-few-shots--do-not-use-this-output>",
|
||||
"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": "<example-id-for-few-shots--do-not-use-this-in-output>",
|
||||
"guideline_id": "<example-id-for-few-shots--do-not-use-this-output>",
|
||||
"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": "<example-id-for-few-shots--do-not-use-this-in-output>",
|
||||
"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": "<Explain why the conditions are met or not met, and what action should be taken if the conditions are met>",
|
||||
"applies": true/false
|
||||
"rationale": "<Explain why the conditions are met and what action should be taken>",
|
||||
"applies": true
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
If no guidelines apply, return an empty checks array:
|
||||
```json
|
||||
{
|
||||
"checks": []
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user