You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You are provided a JSON object with key-value pairs."
151
-
+"The key is a unique identifier for the text provided in the value."
152
-
+"Your task is to tranlate text in the value. You will translate the text"
150
+
"You are provided a JSON list of strings to translate."
151
+
+"Your task is to translate the text in the list. You will translate the text"
153
152
+f" from {self._input.input_language} language to {self._input.output_language}"
154
-
+" language. Always respond with a valid JSON object only."
153
+
+" language. Always respond with a valid JSON list only. If you are not able to translate the text, return the same text. Make sure the returned JSON list has the same order and length as the input JSON list. Do not use ```json in the response."
155
154
)
156
155
157
156
ifself._config.translation_guideline:
158
157
translation_prompt+=f"\nIn addition to the above instructions follow the following guidelines for translation {self._config.translation_guideline}"
0 commit comments