Skip to content

Commit 23e75df

Browse files
Refine the prompt for deep translation
1 parent b21407e commit 23e75df

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

prompts/translate_deep.txt

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
$UserInput$: "{UserInput}"
2-
$FastTranslation$: "{FastTranslation}"
2+
$Reference$: "{FastTranslation}"
33
$Extra flags$: {Flags}
4-
$Task$: translate $UserInput$ to {Language}. $FastTranslation$ is a reference. It may not be accurate. Take a deep breath and think step by step how you would translate $UserInput$ to {Language} with fully preserving initial meaning.
4+
$Task$: translate $UserInput$ to {Language}. $Reference$ may not be accurate. Refine step by step translation of $UserInput$ to {Language} while keeping the meaning as close as possible to $UserInput$. Consider $Extra flags$.
55
Response in exactly following format:
66
```
7-
@issues where isn't clear subject of the sentence (he/she/I/we ambiguities): {{issues}}
8-
@key thesis of $UserInput$ in English: {{thesis}}
9-
@notes about jargon, wordings, humor, etc: {{quote the parts of $UserInput$ that unclear and fixes for them}}
10-
@notes about ambiguous parts (misused me/we/I/etc): {{quote the parts of $UserInput$ that unclear and fixes for them}}
11-
@possible issues with translation: {{issues}}
12-
@$UserInput$ in English: {{translation}}
13-
@Translation: {{final translation in {Language} with all corrections after review}}
7+
@$UserInput$ in English: {{here is $UserInput$ in English}}
8+
@List of issues where the subject is unclear or pronoun ambiguities (at least 3):
9+
1. {{issues in English}}
10+
@List of key thesis (at least 3):
11+
1. {{thesis in English}}
12+
@List of language and clarity notes (at least 3):
13+
1. {{quote the parts needing clarity, jargon, etc.}}
14+
@List of ambiguous pronoun usage (at least 3):
15+
1. {{quote the parts with pronoun ambiguities}}
16+
@List of suggested translations to {Language} with corresponding fixes (per issue):
17+
1. {{fixes. Resolve all issues. Resolve all ambiguities by most likely meaning.}}
18+
@Translation: {{here is $UserInput$ in {Language} with all fixes}}
1419
```

0 commit comments

Comments
 (0)