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 can use a service like Amazon S3, Google Cloud Storage, or any platform that supports direct file access to generate a shareable audio file URL. Check out this cookbook on how to [transcribe from an S3 bucket.](/docs/guides/transcribe_from_s3)
565
+
You can use a service like Amazon S3, Google Cloud Storage, or any platform
566
+
that supports direct file access to generate a shareable audio file URL. Check
567
+
out this cookbook on how to [transcribe from an S3
You can use a service like Amazon S3, Google Cloud Storage, or any platform that supports direct file access to generate a shareable audio file URL. Check out this cookbook on how to [transcribe from an S3 bucket.](/docs/guides/transcribe_from_s3)
## Step 1: Install and import the necessary libraries
127
132
Install the requests library used for making an HTTP request.
128
133
129
-
```bash
130
-
pip install requests
131
-
```
134
+
```bash
135
+
pip install requests
136
+
```
137
+
138
+
Create a new file and import the requests and time library.
132
139
133
-
Create a new file and import the requests and time library.
140
+
```python
141
+
import requests
142
+
import time
143
+
```
134
144
135
-
```python
136
-
import requests
137
-
import time
138
-
```
139
145
</Tab>
140
146
</Tabs>
141
147
@@ -162,6 +168,7 @@ To complete this tutorial, you need:
162
168
```
163
169
</Step>
164
170
</Steps>
171
+
165
172
</Tab>
166
173
<Tablanguage="python"title="Python">
167
174
## Step 2: Set up the API endpoint and headers
@@ -181,6 +188,7 @@ To complete this tutorial, you need:
181
188
```
182
189
</Step>
183
190
</Steps>
191
+
184
192
</Tab>
185
193
</Tabs>
186
194
@@ -250,6 +258,7 @@ In this step, you'll submit the audio file for transcription and wait until it's
250
258
<Step>
251
259
Run the application and wait for it to finish.
252
260
</Step>
261
+
253
262
</Steps>
254
263
</Tab>
255
264
<Tablanguage="python"title="Python">
@@ -334,11 +343,11 @@ In this step, you'll submit the audio file for transcription and wait until it's
334
343
<Step>
335
344
Run the application and wait for it to finish.
336
345
</Step>
346
+
337
347
</Steps>
338
348
</Tab>
339
349
</Tabs>
340
350
341
-
342
351
You've successfully transcribed your first audio file. You can see all submitted transcription jobs in the <ahref="https://www.assemblyai.com/app/processing-queue"target="_blank">Processing queue</a>.
343
352
344
353
## Step 4: Enable additional AI models
@@ -365,6 +374,7 @@ You can extract even more insights from the audio by enabling any of our [AI mod
@@ -395,14 +405,13 @@ You can extract even more insights from the audio by enabling any of our [AI mod
395
405
time.sleep(3)
396
406
```
397
407
</Step>
408
+
398
409
</Steps>
399
410
</Tab>
400
411
</Tabs>
401
412
402
-
403
413
Many of the properties in the transcript object only become available after you enable the corresponding model. For more information, see the models under [Speech-to-Text](/speech-to-text) and [Audio Intelligence](/audio-intelligence).
404
414
405
-
406
415
## Next steps
407
416
408
417
In this tutorial, you've learned how to generate a transcript for an audio file and how to extract speaker information by enabling the [Speaker diarization](/docs/speech-to-text/speaker-diarization) model.
@@ -413,8 +422,10 @@ Want to learn more?
413
422
- If you want to transcribe audio in real-time, see [Transcribe streaming audio from a microphone](/getting-started/transcribe-streaming-audio-from-a-microphone).
414
423
- To search, summarize, and ask questions on your transcripts with LLMs, see [LeMUR](/lemur).
415
424
416
-
417
425
## Need some help?
418
426
419
427
If you get stuck, or have any other questions, we'd love to help you out. Contact our support team at [email protected] or create a [support ticket](https://www.assemblyai.com/contact/support).
Copy file name to clipboardExpand all lines: fern/pages/03-audio-intelligence/pii-redaction.mdx
+3-1
Original file line number
Diff line number
Diff line change
@@ -561,7 +561,9 @@ getting hit in the US. Is because there's a couple of weather systems that ...
561
561
```
562
562
563
563
<Tiptitle="PII Redaction Using LeMUR">
564
-
If you would like the option to use LeMUR for custom PII redaction, check out this guide [Redact PII from Text Using LeMUR](/docs/lemur/lemur-pii-redaction).
564
+
If you would like the option to use LeMUR for custom PII redaction, check out
0 commit comments