Update translation_prompt.liquid
optimize translation prompt 1.Enrich the translation examples. 2.Add necessary validation conditions for "output_count".
This commit is contained in:
parent
adc6486345
commit
6f8c840dcd
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
=====
|
||||
Translate all the above sentences into {{ language }}.
|
||||
Output the translated text in JSON {"input_lang":"original text language", "output_count": {{ text_list_size }}, "output_lang":"{{ language }}", "texts":[{"id": 1, "text":""}]}.
|
||||
Output the translated text in JSON {"input_lang":"original text language", "output_count": {{ text_list_size }}, "output_lang":"{{ language }}", "texts":[{"id": 1, "text":""},{"id": 2, "text":""}]}.
|
||||
The "output_count" must equal the length of the "texts" array in the output.
|
||||
|
|
|
|||
Loading…
Reference in a new issue