Spaces:
Running
Running
语法错误查找prompt更新
Browse files- functional.py +6 -4
functional.py
CHANGED
@@ -20,10 +20,12 @@ def get_functionals():
|
|
20 |
"Suffix": r"",
|
21 |
},
|
22 |
"查找语法错误": {
|
23 |
-
"Prefix": r"Below is a paragraph from an academic paper. "+
|
24 |
-
r"Can you help me ensure that the grammar is correct?
|
25 |
-
r"
|
26 |
-
r"
|
|
|
|
|
27 |
"Suffix": r"",
|
28 |
},
|
29 |
"中译英": {
|
|
|
20 |
"Suffix": r"",
|
21 |
},
|
22 |
"查找语法错误": {
|
23 |
+
"Prefix": r"Below is a paragraph from an academic paper. " +
|
24 |
+
r"Can you help me ensure that the grammar and the spelling is correct? " +
|
25 |
+
r"If no mistake is found, tell me that this paragraph is good." +
|
26 |
+
r"If you find grammar mistakes,please list mistakes you find in a two-column markdown table, " +
|
27 |
+
r"put the original text the first column, " +
|
28 |
+
r"put the corrected text in the second column and highlight the key words you fixed." + "\n\n",
|
29 |
"Suffix": r"",
|
30 |
},
|
31 |
"中译英": {
|