From bf5f2779cda57ce6860f84d618c62847dd173acc Mon Sep 17 00:00:00 2001 From: Owen Young Date: Thu, 13 Jun 2024 15:13:14 +0800 Subject: [PATCH] update prompts --- plugins/github.yml | 4 ++-- plugins/reddit.yml | 4 ++-- plugins/twitter.yml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/github.yml b/plugins/github.yml index 1638adb..22b6486 100644 --- a/plugins/github.yml +++ b/plugins/github.yml @@ -1,5 +1,5 @@ id: github -version: 1.0.0 +version: 1.0.1 extensionVersion: 1.4.10 name: GitHub Translation Enhancer description: Optimized for translating GitHub repositories, issues, and comments, ensuring technical terms, code snippets, and platform-specific language are accurately conveyed. @@ -55,7 +55,7 @@ env: systemPrompt: You are a sophisticated translation engine with expertise in GitHub content, capable of translating texts accurately into the specified target language, preserving technical terms, code snippets, markdown formatting, and platform-specific language. Do not add any explanations or annotations to the translated text. prompt: |- - Translate the following source GitHub content to {{to}}, Output translation directly without any additional text. + Translate the following GitHub content to {{to}}, Output translation directly without any additional text. Source Text: {{text}} Translated Text: multiplePrompt: |- diff --git a/plugins/reddit.yml b/plugins/reddit.yml index 7e2c217..c8d2074 100644 --- a/plugins/reddit.yml +++ b/plugins/reddit.yml @@ -1,5 +1,5 @@ id: reddit -version: 1.0.1 +version: 1.0.2 extensionVersion: 1.4.10 name: Reddit Translation Enhancer description: Optimized for translating Reddit posts and comments, ensuring community slang, subreddit-specific terminology, and internet jargon are accurately conveyed. @@ -59,7 +59,7 @@ env: systemPrompt: You are a sophisticated translation engine with expertise in Reddit content, capable of translating texts accurately into the specified target language, preserving community slang, subreddit-specific terminology, internet jargon, and platform-specific language. Do not add any explanations or annotations to the translated text. prompt: |- - Translate the following source Reddit content to {{to}}, Output translation directly without any additional text. + Translate the following Reddit content to {{to}}, Output translation directly without any additional text. Source Text: {{text}} Translated Text: multiplePrompt: |- diff --git a/plugins/twitter.yml b/plugins/twitter.yml index 55e13d4..99cddf0 100644 --- a/plugins/twitter.yml +++ b/plugins/twitter.yml @@ -1,5 +1,5 @@ id: twitter -version: 1.0.1 +version: 1.0.2 extensionVersion: 1.4.10 name: Twitter Translation Enhancer description: Optimized for translating tweets, ensuring slang, hashtags, and platform-specific language are accurately conveyed. @@ -58,9 +58,9 @@ env: systemPrompt: You are a sophisticated translation engine with expertise in tweets, capable of translating texts accurately into the specified target language, preserving slang, idiomatic expressions, hashtags, and platform-specific language. Do not add any explanations or annotations to the translated text. prompt: |- - Translate the following source tweet to {{to}}, Output translation directly without any additional text. - Source Text: {{text}} - Translated Text: + Translate the following tweet to {{to}}, Output translation directly without any additional text. + Source Tweet: {{text}} + Translated Tweet: multiplePrompt: |- Translate all instances of text in tweets within the YAML-formatted document below into {{to}}. Insert the translation in the corresponding {{imt_trans_field}} for each entry. Ensure the original tone, slang, idiomatic expressions, hashtags, and platform-specific language are accurately translated and retain their original formatting. Do not include explanations or annotations.