From 3f22df7b5bf994b8b5bce5625c1a58df78dc0c39 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Nov 2023 17:03:54 +0000 Subject: [PATCH] update default_config.json --- dist/default_config.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/dist/default_config.json b/dist/default_config.json index 6eaeb24..cfa8f1b 100644 --- a/dist/default_config.json +++ b/dist/default_config.json @@ -307,7 +307,18 @@ "translationDebounce": 300, "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, just translate or leave them as they are.:\n\n{{text}}", + "prompt": "Translate the text to {{to}}, please do not explain any sentences:\n\n{{text}}", + "model": "gpt-3.5-turbo-1106", + "overrides": [ + { + "if": "targetLanguage == zh-CN", + "prompt": "翻译为简体中文,不要有任何解释:\n\n{{text}}" + }, + { + "if": "targetLanguage == zh-TW", + "prompt": "翻譯為繁體中文,不要有任何解釋:\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, @@ -4551,6 +4562,6 @@ ] } ], - "buildinConfigUpdatedAt": "2023-11-07T12:11:17.259Z", + "buildinConfigUpdatedAt": "2023-11-07T17:03:54.429Z", "latestVersion": "0.11.0" }