Skip to content

Commit

Permalink
update default_config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 9, 2023
1 parent 5ac9ff2 commit f40cb4b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions dist/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,21 +314,27 @@
"translationDebounce": 300,
"interval": 1350,
"systemPrompt": "You are a professional, authentic translation engine that only returns translations.",
"prompt": "Translate the text to {{to}}, please do not explain my original text.:\n\n{{text}}",
"multiplePrompt": "Translate the following subtitles into {{to}}, keep the order, and do not explain any sentences:\n\n{{text}}",
"model": "gpt-3.5-turbo-1106",
"prompt": "Translate the text to {{to}} Language, please do not explain my original text.:\n\n{{text}}",
"multiplePrompt": "Please translate these subtitles into {{to}}. For smoothness, you may need to include part of the previous sentence in the next sentence. For example, if I give you 5 paragraphs in English, you must return 5 paragraphs of translation.:\n\n{{text}}",
"model": "gpt-3.5-turbo-0613",
"overrides": [
{
"if": "targetLanguage == zh-CN",
"prompt": "翻译为简体中文,请不要解释我的原文:\n\n{{text}}",
"systemPrompt": "你是一个专业,地道的翻译引擎,你只返回译文,不含任何解释",
"multiplePrompt": "请把这几句字幕翻译为简体中文,为了通顺,你可能需要在下一句中包含上一句的部分内容,比如我给了你 5 段英文,你就必须返回 5 段中文\n\n{{text}}"
"multiplePrompt": "请把这几句字幕翻译为简体中文,为了通顺,你可能需要在下一句中包含上一句的部分内容,比如我给了你 5 段英文,你就必须返回 5 段译文\n\n{{text}}"
},
{
"if": "targetLanguage == zh-TW",
"prompt": "翻譯為繁體中文,請不要解釋我的原文::\n\n{{text}}",
"systemPrompt": "你是一個專業,道地的翻譯引擎,你只會回譯文",
"multiplePrompt": "請把這幾句字幕翻譯為繁體中文,為了通順,你可能需要在下一句中包含上一句的部分內容,比如我給了你 5 段英文,你就必須返回 5 段繁體中文\n\n{{text}}"
"multiplePrompt": "請把這幾句字幕翻譯為繁體中文,為了通順,你可能需要在下一句中包含上一句的部分內容,比如我給了你 5 段英文,你就必須返回 5 段譯文\n\n{{text}}"
},
{
"if": "targetLanguage == fr",
"prompt": "Traduisez le texte en français, s'il vous plaît ne pas expliquer mon texte d'origine.:\n\n{{text}}",
"systemPrompt": "Vous êtes un moteur de traduction professionnel et authentique qui ne renvoie que des traductions.",
"multiplePrompt": "Veuillez traduire ces sous-titres en chinois simplifié. Pour plus de fluidité, vous devrez peut-être inclure une partie de la phrase précédente dans la phrase suivante. Par exemple, si je vous donne 5 paragraphes en anglais, vous devez renvoyer 5 paragraphes de traduction:\n\n{{text}}"
}
],
"maxTextGroupLengthPerRequest": 1,
Expand Down Expand Up @@ -4585,6 +4591,6 @@
]
}
],
"buildinConfigUpdatedAt": "2023-11-09T09:04:25.145Z",
"buildinConfigUpdatedAt": "2023-11-09T10:18:27.981Z",
"latestVersion": "0.11.3"
}

0 comments on commit f40cb4b

Please sign in to comment.