Skip to content

Commit

Permalink
Create translate.promptc
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinZonda authored Jan 20, 2024
1 parent 76193ff commit 7cd8cee
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions prompt/translate.promptc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var: {
content: string
}

prompts : [
'''role: system
Please translate the text into English with accurate tune. Text will be bracketed by `<NeedTranslate>`
You only need to translate the content under the `</NeedTranslate>` without explaination.
If you meet something you cannot translate, just output `Error` without explaination.
''',
'''
<NeedTranslate>
{content}
</NeedTranslate>
'''
]

0 comments on commit 7cd8cee

Please sign in to comment.