New Voice Standard Bench: 50+ LLMs ranked on real voice tasks Learn more

Guardrails

Profanity filtering, content moderation, and PII redaction at the text and audio level. One API, compliant by default.

Features

Output

Doctor: Hi, Mr. #####. How are you?

Patient: I’m good, Dr. #####. Nice to see you.

Doctor: Nice to see you again. What brings you back?

Patient: Well, my back’s been hurting again.

Doctor: Oh, I see. I’ve seen you a number of times for this, haven’t I?

Patient: Yeah, well, ever since I got hurt on the job 3 years ago, it’s something that just keeps coming back.

Doctor: It’ll be fine for a while, and then I’ll bend down or I’ll move in a weird way, and then Unfortunately, that, that can happen, and, and I do have quite a few patients who get recurring episodes of back pain. Have you been keeping up with the therapy that we had you on before?

Patient: Which, the pills?

Doctor: Actually, I was talking about the physical therapy that we had you doing. The pills are only meant for short-term because they, they don’t actually prevent the back pain from coming back.

Patient: Um, see, yeah, once my back started feeling better, I was happy not to go to the therapist anymore.

Doctor: Why was that?

Patient: Well, it was starting to become kind of a hassle, you know, with my work schedule, and the cost was an issue. But I was able to get back to work, so— and I could use the money.

Doctor: Do you think the physical therapy was helping?

Patient: Yeah, well, it was slow going at first.

Doctor: I see. Physical therapy is a bit slower than medications, but the point is to build up the core muscles in your back and your abdomen. Physical therapy is also less invasive than medications, so that’s why we had you doing the therapy. But you mentioned that cost was getting to be a real issue for you. Can you tell me more about that?

Code

import assemblyai as aai

aai.settings.api_key = "YOUR_API_KEY"

audio_file = "https://assembly.ai/wildfires.mp3"

config = aai.TranscriptionConfig(
    speech_models=["universal-3-5-pro", "universal-2"],
    language_detection=True,
    speaker_labels=True,
)

transcript = aai.Transcriber().transcribe(audio_file, config=config)

if transcript.status == aai.TranscriptStatus.error:
    raise RuntimeError(f"Transcription failed: {transcript.error}")

print(transcript.text)

for utterance in transcript.utterances:
    print(f"Speaker {utterance.speaker}: {utterance.text}")
Metaview
Dovetail
Granola
Apollo.io
Ashby
Siro
Calabrio
Cluely
Genio
Commure
Retell
CallRail
LiveKit
EliseAI
ClickUp
HeyGen
Metaview
Dovetail
Granola
Apollo.io
Ashby
Siro
Calabrio
Cluely
Genio
Commure
Retell
CallRail
LiveKit
EliseAI
ClickUp
HeyGen
Metaview
Dovetail
Granola
Apollo.io
Ashby
Siro
Calabrio
Cluely
Genio
Commure
Retell
CallRail
LiveKit
EliseAI
ClickUp
HeyGen
Metaview
Dovetail
Granola
Apollo.io
Ashby
Siro
Calabrio
Cluely
Genio
Commure
Retell
CallRail
LiveKit
EliseAI
ClickUp
HeyGen
Features

Every protection, built into your timeline

Ship Voice AI you can trust in production. Every guardrail you need, built into the API.

PII Text Redaction

Identify and remove personally identifiable information — such as social security numbers, dates of birth — from the transcript before it is returned to you.

PII Audio Redaction

Replace personally identifiable information — such as social security numbers, dates of birth — from the audio files with a "beep" for compliance.

Content Moderation

Detect sensitive content in your audio and video files — hate speech, violence, sensitive social issues, alcohol, drugs, and more.

Profanity Filtering

Identify and redact profane or sensitive terms, keeping your speech-to-text output clean and compliant across any application.

Speech Threshold

Transcribe only files with a minimum percentage of spoken audio.

Start & End of Transcript

Limit transcription to sections containing speech.

Comprehensive protection

Safety, compliance, and operational controls

Enterprise guardrails built into every request, so you can ship to production with confidence.

Safety Guardrails

Catch sensitive content, remove personal information from text and audio, and keep outputs production-clean.

Operational Controls

Speech Threshold and transcript start/end controls validate inputs before they hit the model. Transcribe only what matters, skip what doesn’t, and keep quality consistent at scale.

Compliance ready

Built-in PII Redaction and content controls help you meet GDPR, HIPAA, and PCI requirements. The guardrails regulated teams rely on to ship safely.

Guardrails built in, not bolted on

Model
AssemblyAI One API, every guardrail
Deepgram Limited safety surface
AWS Stitch your own pipeline
PII Redaction, text
Built-in
Built-in
Built-in
PII Redaction, audio
Built-in
—
Separate pipeline
Content Moderation
Multi-category
—
Toxicity only
Profanity Filtering
All models
Legacy models only
DIY filter
Speech Threshold
Built-in
—
—
Transcript start/end
Built-in
—
—

AI Speech-to-Text transcription in 99 languages

From Spanish to Korean, deliver accurate Voice AI in the languages your users speak.

Common questions