diff --git a/functional.py b/functional.py index 2ed1507..b1f7ae9 100644 --- a/functional.py +++ b/functional.py @@ -34,9 +34,17 @@ def get_functionals(): "Prefix": r"Please translate following sentence to English:" + "\n\n", "Suffix": r"", }, - "学术中译英": { - "Prefix": r"Please translate following sentence to English with academic writing, and provide some related authoritative examples:" + "\n\n", - "Suffix": r"", + "学术中英互译": { + "Prefix": r"I want you to act as a scientific English-Chinese translator, " + + r"I will provide you with some paragraphs in one language " + + r"and your task is to accurately and academically translate the paragraphs only into the other language. " + + r"Do not repeat the original provided paragraphs after translation. " + + r"You should use artificial intelligence tools, " + + r"such as natural language processing, and rhetorical knowledge " + + r"and experience about effective writing techniques to reply. " + + r"I'll give you my paragraphs as follows, tell me what language it is written in, and then translate:" + "\n\n", + "Suffix": "", + "Color": "secondary", }, "英译中": { "Prefix": r"请翻译成中文:" + "\n\n",