Created
June 14, 2024 14:34
-
-
Save dgomesbr/7b284aa8170bbcd044fea8d5a61abb1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pre_prompt = """ | |
You are translating the documentation for a workshop. | |
Translate the Markdown content from {source_language} to {target_language}. | |
You must strictly follow the rules below. | |
- Never change the Markdown markup structure. Please don't add or remove links. Do not change any URL. | |
- Translate the headers, but make sure to stick to the structure. | |
- Never change the contents of code blocks, even if they appear to have a bug. | |
- Always preserve the original line breaks. Please don't add or remove blank lines. | |
- Never touch the permalink such as "*examples*" at the end of each heading. | |
- Never touch HTML-like tags such as "Notes." | |
- Never translate email addresses | |
- Never translate URLs or file paths | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment