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 7, 2023
1 parent 3f22df7 commit 4133995
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dist/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,18 +308,20 @@
"interval": 1350,
"systemPrompt": "You are a professional, authentic human translator and only translate the content without any interpreting.",
"prompt": "Translate the text to {{to}}, please do not explain any sentences:\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",
"overrides": [
{
"if": "targetLanguage == zh-CN",
"prompt": "翻译为简体中文,不要有任何解释:\n\n{{text}}"
"prompt": "翻译为简体中文,不要有任何解释:\n\n{{text}}",
"multiplePrompt": "请把这几句字幕翻译为简体中文,为了通顺,你可能需要在下一句中包含上一句的部分内容,比如我给了你 5 段英文,你就必须返回 5 段中文\n\n{{text}}"
},
{
"if": "targetLanguage == zh-TW",
"prompt": "翻譯為繁體中文,不要有任何解釋:\n\n{{text}}"
"prompt": "翻譯為繁體中文,不要有任何解釋:\n\n{{text}}",
"multiplePrompt": "請把這幾句字幕翻譯為繁體中文,為了通順,你可能需要在下一句中包含上一句的部分內容,比如我給了你 5 段英文,你就必須返回 5 段繁體\n\n{{text}}"
}
],
"multiplePrompt": "Translate the following subtitles into {{to}}, keep the order, and do not explain any sentences:\n\n{{text}}",
"maxTextGroupLengthPerRequest": 1,
"maxTextGroupLengthPerRequestForSubtitle": 5,
"translationTextSeparator": "\n\n%%\n\n",
Expand Down Expand Up @@ -4562,6 +4564,6 @@
]
}
],
"buildinConfigUpdatedAt": "2023-11-07T17:03:54.429Z",
"buildinConfigUpdatedAt": "2023-11-07T18:03:57.027Z",
"latestVersion": "0.11.0"
}

0 comments on commit 4133995

Please sign in to comment.