Spaces:
Running
Running
Update formatting of default prompt
Browse files
common.py
CHANGED
|
@@ -29,28 +29,19 @@ CSS_STYLES = """
|
|
| 29 |
"""
|
| 30 |
|
| 31 |
# Default Eval Prompt
|
| 32 |
-
DEFAULT_EVAL_PROMPT = """You are assessing a chat bot response to a user's input based on the helpfulness of the response
|
| 33 |
|
| 34 |
Score:
|
| 35 |
-
|
| 36 |
A score of 1 means that the response's answer meets all of the evaluation criteria.
|
| 37 |
-
|
| 38 |
A score of 0 means that the response's answer does not meet all of the evaluation criteria.
|
| 39 |
|
| 40 |
-
Here is the data
|
| 41 |
-
|
| 42 |
[BEGIN DATA]
|
| 43 |
-
|
| 44 |
***
|
| 45 |
-
|
| 46 |
[User Query]: {{input}}
|
| 47 |
-
|
| 48 |
***
|
| 49 |
-
|
| 50 |
[Response]: {{response}}
|
| 51 |
-
|
| 52 |
***
|
| 53 |
-
|
| 54 |
[END DATA]"""
|
| 55 |
|
| 56 |
# Default Variable Values
|
|
|
|
| 29 |
"""
|
| 30 |
|
| 31 |
# Default Eval Prompt
|
| 32 |
+
DEFAULT_EVAL_PROMPT = """You are assessing a chat bot response to a user's input based on the helpfulness of the response.
|
| 33 |
|
| 34 |
Score:
|
|
|
|
| 35 |
A score of 1 means that the response's answer meets all of the evaluation criteria.
|
|
|
|
| 36 |
A score of 0 means that the response's answer does not meet all of the evaluation criteria.
|
| 37 |
|
| 38 |
+
Here is the data:
|
|
|
|
| 39 |
[BEGIN DATA]
|
|
|
|
| 40 |
***
|
|
|
|
| 41 |
[User Query]: {{input}}
|
|
|
|
| 42 |
***
|
|
|
|
| 43 |
[Response]: {{response}}
|
|
|
|
| 44 |
***
|
|
|
|
| 45 |
[END DATA]"""
|
| 46 |
|
| 47 |
# Default Variable Values
|