@@ -150,9 +150,9 @@ const batchSubmissionRequest: BatchSubmissionRequest = {
150150 inputs: [
151151 {
152152 source: { sourceUrl: " <sas_url_to_source>" },
153- targets: [{ language: " fr" , targetUrl: " <sas_url_to_target_fr>" }]
154- }
155- ]
153+ targets: [{ language: " fr" , targetUrl: " <sas_url_to_target_fr>" }],
154+ },
155+ ],
156156};
157157```
158158
@@ -166,17 +166,17 @@ const batchSubmissionRequest: BatchSubmissionRequest = {
166166 source: { sourceUrl: " <sas_url_to_source_A>" },
167167 targets: [
168168 { language: " fr" , targetUrl: " <sas_url_to_target_A_fr>" },
169- { language: " de" , targetUrl: " <sas_url_to_target_A_de>" }
170- ]
169+ { language: " de" , targetUrl: " <sas_url_to_target_A_de>" },
170+ ],
171171 },
172172 {
173173 source: { sourceUrl: " <sas_url_to_source_B>" },
174174 targets: [
175175 { language: " fr" , targetUrl: " <sas_url_to_target_B_fr>" },
176- { language: " de" , targetUrl: " <sas_url_to_target_B_de>" }
177- ]
178- }
179- ]
176+ { language: " de" , targetUrl: " <sas_url_to_target_B_de>" },
177+ ],
178+ },
179+ ],
180180};
181181```
182182
@@ -188,8 +188,8 @@ See the service documentation for all [supported languages][supported_languages]
188188
189189Please refer to the samples folder to see code samples, including:
190190
191- - [ List Supported Formats] [ https://github.com/azure /azure-sdk-for-js/tree /master/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/translatefromblob .ts ]
192- - [ Translate documents] [ https://github.com/azure /azure-sdk-for-js/tree /master/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/listformats .ts ]
191+ - [ List Supported Formats] ( https://github.com/Azure /azure-sdk-for-js/blob /master/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/listFormats .ts )
192+ - [ Translate documents] ( https://github.com/Azure /azure-sdk-for-js/blob /master/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/translateFromBlob .ts )
193193
194194## Troubleshooting
195195
0 commit comments