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
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/batch-transcription.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,17 @@ Batch transcription jobs are scheduled on a best effort basis. Currently there i
38
38
39
39
Next to the easy-to-use API, you don't need to deploy custom endpoints, and you don't have any concurrency requirements to observe.
40
40
41
+
> [!TIP]
42
+
> You can use the Swagger Editor to automatically generate client libraries for the batch transcription REST API. Thus Batch transcription can be used from nearly any programming language or environment that supports REST.<br>
43
+
> For example, to generate a Batch transcription client library.
44
+
> 1. Copy the example URL below:
45
+
> ```http
46
+
> https://westus.cris.ai/docs/v2.0/swagger
47
+
> ```
48
+
> 1. Navigate to the <a href="https://editor.swagger.io/" target="_blank">**Swagger Editor** <span class="docon docon-navigate-external x-hidden-focus"></span></a>
49
+
> 1. Select **File** > **Import URL** and paste the URL
50
+
> 1. Select **Generate Client** and choose your desired programming language
51
+
41
52
## Prerequisites
42
53
43
54
### Subscription Key
@@ -300,17 +311,6 @@ The transcription service can handle large number of submitted transcriptions. Y
300
311
301
312
Complete samples are available in the [GitHub sample repository](https://aka.ms/csspeech/samples) inside the `samples/batch` subdirectory.
302
313
303
-
> [!TIP]
304
-
> You can use the [Swagger Editor](https://editor.swagger.io/) to automatically generate client libraries for the batch transcription REST API. Thus Batch transcription can be used from nearly any programming language or environment that supports REST.
305
-
> For example, to generate a Batch transcription client library.
306
-
> 1. Copy the example URL below:
307
-
> ```http
308
-
> https://westus.cris.ai/docs/v2.0/swagger
309
-
> ```
310
-
> 1. Navigate to the <a href="https://editor.swagger.io/" target="_blank">Swagger Editor <span class="docon docon-navigate-external x-hidden-focus"></span></a>
311
-
> 1. Select **File** > **Import URL** and paste the URL
312
-
> 1. Select **Generate Client** and choose your desired programming language
313
-
314
314
You have to customize the sample code with your subscription information, the service region, the SAS URI pointing to the audio file to transcribe, and model IDs in case you want to use a custom acoustic or language model.
315
315
316
316
[!code-csharp[Configuration variables for batch transcription](~/samples-cognitive-services-speech-sdk/samples/batch/csharp/program.cs#batchdefinition)]
0 commit comments