Redact PII in Audio with Make and AssemblyAI

Make (previously Integromat) is a workflow automation device that permits you to combine numerous providers with out requiring coding data. With the AssemblyAI app for Make you need to use our AI fashions to course of audio knowledge by transcribing it with speech recognition fashions, analyzing it with audio intelligence fashions, and constructing generative options on prime of it with LLMs.
In this tutorial, you may create a Make state of affairs that watches a Google Drive folder for brand spanking new audio information, after which creates each a transcript and an audio file during which PII is redacted.

Note
We’re utilizing Google Drive because the supply of audio information, however you might pull them from any supply together with e.g. AWS S3. If the audio information have already got public URLs, you need not add them to AssemblyAI.
Build a PII redaction state of affairs
Sign up or log into your Make account.
Create a brand new state of affairs and set the Google Drive Watch Files in a Folder because the set off.
If that is the primary time you are making a Google Drive module, you may must create a brand new connection and choose it.
Configure the set off to observe a selected folder in your Google Drive the place you’ll add your audio information. Let’s assume this folder is known as media.

Next, add a Google Drive Download a File module related to the set off, and configure the File ID with the File ID from the set off.

Right-click on the connection between the set off and Download a File module, and click on on Set up a filter. Configure the filter situation in order that it’s true when the file identify doesn’t comprise the phrase "redacted".

Later, when your state of affairs is totally constructed, your state of affairs will add the redacted transcript and audio again to Google Drive. As a outcome, these uploaded redacted information will set off your state of affairs once more, however you do not wish to run the state of affairs for the information which have been redacted already.
Add an AssemblyAI Upload a File module, to the Download a File module you simply outlined. The Google Drive file ought to routinely be chosen.
If that is the primary time you added an AssemblyAI module, you may must create a connection and choose it.

Add an AssemblyAI Transcribe an Audio File module. Since this module has a variety of parameters, I like to recommend clicking on the three dots button after which clicking on Collapse all.

Pass the Uploaded File URL from the earlier module to the Audio URL parameter.

Configure the PII redaction mannequin by setting the next parameters:
- Set
Redact PIItoYes - Set
Redact PII AudiotoYes - Configure at the least on PII coverage within the
Redact PII Policieslisting

Add an AssemblyAI Get Redacted Audio of a Transcript and cross the transcript ID from the Transcribe an Audio File module to the Transcript ID parameter.

Create a Google Drive Create a File from Text module and configure the parameters:
- Set
New textual content File Locationto themediafolder - Set
File Nameto theOriginal Filenamefrom the Google DriveDownload a Filemodule, however substitute the file extension of the file identify withredacted.txt - Set
File Contentto theTextproperty from the AssemblyAITranscribe an Audio Filemodule

Warning
The Transcribe an Audio File module output has a number of Text properties, a few of that are nested inside different objects and arrays. Use the Text property from the foundation of the output.

Warning
The output you see from the Transcribe an Audio File module is pattern knowledge if you have not run the state of affairs earlier than. Once the state of affairs has run, it’s going to use actual knowledge.
Add a Google Drive Upload a File module and configure the parameters:
- Set
New Folder Locationtomedia - Select
Mapunderneath theFileparameter- Set
File Nameto theOriginal Filenamefrom the Google DriveDownload a Filemodule, however substitute the file extension of the file identify withredacted.mp3 - Set
Datato theredacted_audio_fileproperty from theGet Redacted Audio of a Transcriptmodule.
- Set

Your state of affairs is full. Save it and let’s try it out.
Go to Google Drive and add an audio file to the media folder. Now, swap again to your Make state of affairs and click on the Run as soon as button. Here’s a pattern audio file of a cellphone name that you need to use.
Once your state of affairs is completed, you must see the transcript and redacted audio file seem in your Google Drive folder.
Conclusion
You simply realized the way to construct a Make state of affairs that redacts PII from audio information from Google Drive. Instead of Google Drive, you might plug in different file providers, CRMs, or wherever you retailer your audio information, so long as there’s an app accessible in your service in Make to obtain and add your information.
You can do much more with the AssemblyAI app. You can use further speech recognition options, analyze your audio with audio intelligence fashions, and construct generative options with LeMUR. Check out the AssemblyAI app for Make documentation to study extra.
HI-FI News
through News, Tutorials, AI Research https://ift.tt/dbkNoeW
April 23, 2024 at 11:10PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








