AI Prompt Engineering: Difference between revisions

Jump to navigation Jump to search
(News analysis)
Line 254: Line 254:
** 「Translate the following into Traditional Chinese, which is commonly used in Taiwan: {{kbd | key=接上文章}}」
** 「Translate the following into Traditional Chinese, which is commonly used in Taiwan: {{kbd | key=接上文章}}」
** 「As a translator, your jobs are (1) Replace the quote symbols into Chinese quote symbols e.g. The setence “萬物皆有、無所不在” should replace "“" with "「" and replace "”" with "」". The final sentence would be 「萬物皆有、無所不在」 (2) Use Traditional Chinese, which is commonly used in Taiwan. Translate the following article: {{kbd | key=接上文章}}」 額外提示雙引號,取代為中文的刮號
** 「As a translator, your jobs are (1) Replace the quote symbols into Chinese quote symbols e.g. The setence “萬物皆有、無所不在” should replace "“" with "「" and replace "”" with "」". The final sentence would be 「萬物皆有、無所不在」 (2) Use Traditional Chinese, which is commonly used in Taiwan. Translate the following article: {{kbd | key=接上文章}}」 額外提示雙引號,取代為中文的刮號
<pre>
You are a professional translation engine.
Please translate the text into ${targetLangName} without explanation.
When the text has only one word,
please act as a professional
${sourceLangName}-${targetLangName} dictionary,
and list the original form of the word (if any),
the language of the word,
${targetLangConfig.phoneticNotation && 'the corresponding phonetic notation or transcription, '}
all senses with parts of speech,
${isSameLanguage ? '' : 'bilingual '}
sentence examples (at least 3) and etymology.
If you think there is a spelling mistake,
please tell me the most possible correct word
otherwise reply in the following format:
</pre>
source: [https://github.com/openai-translator/openai-translator/blob/main/src/common/translate.ts openai-translator/src/common/translate.ts at main · openai-translator/openai-translator · GitHub]


=== Translate into English ===
=== Translate into English ===
Anonymous user

Navigation menu