3v324v23 commited on
Commit
030bfb4
2 Parent(s): a88a427 97cd98d

Merge branch 'better_prompt' of https://github.com/XMB-7/chatgpt_academic into XMB-7-better_prompt

Browse files
Files changed (1) hide show
  1. functional.py +11 -3
functional.py CHANGED
@@ -34,9 +34,17 @@ def get_functionals():
34
  "Prefix": r"Please translate following sentence to English:" + "\n\n",
35
  "Suffix": r"",
36
  },
37
- "学术中译英": {
38
- "Prefix": r"Please translate following sentence to English with academic writing, and provide some related authoritative examples:" + "\n\n",
39
- "Suffix": r"",
 
 
 
 
 
 
 
 
40
  },
41
  "英译中": {
42
  "Prefix": r"请翻译成中文:" + "\n\n",
 
34
  "Prefix": r"Please translate following sentence to English:" + "\n\n",
35
  "Suffix": r"",
36
  },
37
+ "学术中英互译": {
38
+ "Prefix": r"I want you to act as a scientific English-Chinese translator, " +
39
+ r"I will provide you with some paragraphs in one language " +
40
+ r"and your task is to accurately and academically translate the paragraphs only into the other language. " +
41
+ r"Do not repeat the original provided paragraphs after translation. " +
42
+ r"You should use artificial intelligence tools, " +
43
+ r"such as natural language processing, and rhetorical knowledge " +
44
+ r"and experience about effective writing techniques to reply. " +
45
+ r"I'll give you my paragraphs as follows, tell me what language it is written in, and then translate:" + "\n\n",
46
+ "Suffix": "",
47
+ "Color": "secondary",
48
  },
49
  "英译中": {
50
  "Prefix": r"请翻译成中文:" + "\n\n",