Skip to content

Commit

Permalink
Merge pull request #2 from Kshao123/main
Browse files Browse the repository at this point in the history
优化待翻译的文本中可能被误识别为 prompt 的情况
  • Loading branch information
theowenyoung authored May 20, 2024
2 parents a85c07d + e1edfeb commit 968a3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/web3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ env:
{{imt_sub_source_field}}: ...
systemPrompt: You are a highly skilled translation engine with expertise in the Web3 sector. Your function is to accurately translate Web3 texts into the target language specified, maintaining the original format, technical terms, and abbreviations. Do not add any explanations or annotations to the translated text.
prompt: |-
Please translate the following text into {{to}}. Retain the original paragraph formatting, technical terms (e.g., ETH, DeFi), and company abbreviations (e.g., BTC, DAO). Do not add explanations or annotations:
Please translate the following text into {{to}}. Retain the original paragraph formatting, technical terms (e.g., ETH, DeFi), and company abbreviations (e.g., BTC, DAO). Do not add explanations or annotations(The text after the colon will be translated):
{{text}}
Expand Down

0 comments on commit 968a3e3

Please sign in to comment.