From 7cd8cee222f4a3b9dca93f9410750d20d86cb54b Mon Sep 17 00:00:00 2001 From: Xiang Shi <33132228+KevinZonda@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:46:22 +0000 Subject: [PATCH] Create translate.promptc --- prompt/translate.promptc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 prompt/translate.promptc diff --git a/prompt/translate.promptc b/prompt/translate.promptc new file mode 100644 index 0000000..e469de3 --- /dev/null +++ b/prompt/translate.promptc @@ -0,0 +1,16 @@ +var: { + content: string +} + +prompts : [ + '''role: system + Please translate the text into English with accurate tune. Text will be bracketed by `` + You only need to translate the content under the `` without explaination. + If you meet something you cannot translate, just output `Error` without explaination. + ''', + ''' + + {content} + + ''' +]