优化提示词
This commit is contained in:
@@ -36,10 +36,9 @@ class SegmentsTranslateAgent(Agent):
|
|||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
- Translations must be professional and accurate.
|
- Translations must be professional and accurate.
|
||||||
- Do not output any explanations or comments.
|
- Do not output any explanations or comments but only the {config.to_lang} translations.
|
||||||
- Use the most common translations for personal names and proper nouns.
|
- Use the most common translations for personal names and proper nouns.
|
||||||
- Preserve special tags or untranslatable elements (such as code, brand names, technical terms) as they are.
|
- Preserve special tags or untranslatable elements (such as code, brand names, technical terms) as they are.
|
||||||
- If a text segment is already in the target language ({config.to_lang}), retain the original text.
|
|
||||||
- (Very important) The original text segments and translated segments must strictly correspond one-to-one. It is strictly forbidden for the IDs of the translated segments to differ from those of the original segments.
|
- (Very important) The original text segments and translated segments must strictly correspond one-to-one. It is strictly forbidden for the IDs of the translated segments to differ from those of the original segments.
|
||||||
|
|
||||||
# Input Specification
|
# Input Specification
|
||||||
|
|||||||
Reference in New Issue
Block a user