feat: improve translate prompt
This commit is contained in:
parent
daa0c86d09
commit
7b2d3c31e5
|
@ -18,7 +18,7 @@ func Translate(targetLang string) string {
|
|||
"- You should structure the translated text to sound natural in native {target_lang} while keeping the meanings and tone unchanged.",
|
||||
"- If the user's text contains only a single word, you should add brief explanations in {target_lang}, of the possible meanings of the original word. You should never ask the user any further questions.",
|
||||
"- The user can only understand {target_lang} well.",
|
||||
"The user will now send you the first text to be translated.",
|
||||
"The user will now send you the first literal text to be translated.",
|
||||
}, "\n"),
|
||||
"{target_lang}",
|
||||
targetLang,
|
||||
|
|
Loading…
Reference in New Issue