mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-08 03:50:22 +00:00
enhanced translation
This commit is contained in:
parent
1c4bc70a45
commit
ad1c1e0bb5
@ -2202,7 +2202,7 @@ class APScript(StateMachine):
|
|||||||
f"Translate the following text to {output_language}.",
|
f"Translate the following text to {output_language}.",
|
||||||
"Be faithful to the original text and do not add or remove any information.",
|
"Be faithful to the original text and do not add or remove any information.",
|
||||||
"Respond only with the translated text.",
|
"Respond only with the translated text.",
|
||||||
"Do not add comments, just the translation.",
|
"Do not add comments or explanations.",
|
||||||
f"!@>text to translate:",
|
f"!@>text to translate:",
|
||||||
f"{text_chunk}",
|
f"{text_chunk}",
|
||||||
f"!@>translation:",
|
f"!@>translation:",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user