From 4d02ea986319c08e82cec68963fb8060a15da09e Mon Sep 17 00:00:00 2001 From: qingxu fu <505030475@qq.com> Date: Thu, 30 Mar 2023 12:16:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF=E6=9F=A5?= =?UTF-8?q?=E6=89=BEprompt=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functional.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/functional.py b/functional.py index d38ccdf..d25e243 100644 --- a/functional.py +++ b/functional.py @@ -20,10 +20,12 @@ def get_functionals(): "Suffix": r"", }, "查找语法错误": { - "Prefix": r"Below is a paragraph from an academic paper. "+ - r"Can you help me ensure that the grammar is correct? Please ignore punctuation errors. " + - r"List mistakes you find in a two-column markdown table, the first column write the original text, " + - r"the second column write the corrected text, only highlight the key words you have changed with bold font." + "\n\n", + "Prefix": r"Below is a paragraph from an academic paper. " + + r"Can you help me ensure that the grammar and the spelling is correct? " + + r"If no mistake is found, tell me that this paragraph is good." + + r"If you find grammar mistakes,please list mistakes you find in a two-column markdown table, " + + r"put the original text the first column, " + + r"put the corrected text in the second column and highlight the key words you fixed." + "\n\n", "Suffix": r"", }, "中译英": {