Upload prompt template grounding_accuracy_response_level.yaml
Browse files
grounding_accuracy_response_level.yaml
CHANGED
|
@@ -1,8 +1,27 @@
|
|
| 1 |
prompt:
|
| 2 |
-
template:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
template_variables:
|
| 7 |
- user_request
|
| 8 |
- context_document
|
|
|
|
| 1 |
prompt:
|
| 2 |
+
template: |-
|
| 3 |
+
Your task is to check if the Response is accurate to the Evidence.
|
| 4 |
+
Generate 'Accurate' if the Response is accurate when verified according to the Evidence, or 'Inaccurate' if the Response is inaccurate (contradicts the evidence) or cannot be verified.
|
| 5 |
+
|
| 6 |
+
**Query**:
|
| 7 |
+
|
| 8 |
+
{{user_request}}
|
| 9 |
+
|
| 10 |
+
**End of Query**
|
| 11 |
+
|
| 12 |
+
**Evidence**
|
| 13 |
+
|
| 14 |
+
{{context_document}}
|
| 15 |
+
|
| 16 |
+
**End of Evidence**
|
| 17 |
+
|
| 18 |
+
**Response**:
|
| 19 |
+
|
| 20 |
+
{{response}}
|
| 21 |
+
|
| 22 |
+
**End of Response**
|
| 23 |
+
|
| 24 |
+
Let's think step-by-step.
|
| 25 |
template_variables:
|
| 26 |
- user_request
|
| 27 |
- context_document
|