BhanuPrakashSamoju
commited on
Commit
•
0c6b6a2
1
Parent(s):
089ac4a
Update main.py
Browse files
main.py
CHANGED
@@ -28,10 +28,8 @@ class BasePromptContext:
|
|
28 |
self.variables_list = ["question","answer","context"]
|
29 |
self.base_template = """Please act as an impartial judge and evaluate the quality of the provided answer which attempts to answer the provided question based on a provided context.
|
30 |
|
31 |
-
And you'll need to submit your grading for the correctness, comprehensiveness and readability of the answer, using JSON format with the
|
32 |
-
"score": [your score number for the correctness of the answer], "reasoning": [your one line step by step reasoning about the correctness of the answer]
|
33 |
-
|
34 |
-
|
35 |
|
36 |
Below is your grading rubric:
|
37 |
|
|
|
28 |
self.variables_list = ["question","answer","context"]
|
29 |
self.base_template = """Please act as an impartial judge and evaluate the quality of the provided answer which attempts to answer the provided question based on a provided context.
|
30 |
|
31 |
+
And you'll need to submit your grading for the correctness, comprehensiveness and readability of the answer, using JSON format with the 2 items in parenthesis:
|
32 |
+
("score": [your score number for the correctness of the answer], "reasoning": [your one line step by step reasoning about the correctness of the answer])
|
|
|
|
|
33 |
|
34 |
Below is your grading rubric:
|
35 |
|