# Python - Remove sensitive informationtranscription = await client.transcriptions.create( audio_url="https://example.com/call.mp3", redact_pii=True, redact_pii_policies=["person", "email", "phone_number", "ssn"], redact_pii_sub="hash")# Sensitive data will be automatically redactedprint(transcription.text) # "Hi my name is [REDACTED] and my phone is [REDACTED]"
# Python - Use context manager for automatic cleanupasync with VerbalisAI(api_key="your-api-key") as client: transcription = await client.transcriptions.create( audio_url="https://example.com/audio.mp3" ) print(transcription.text)# Client automatically cleaned up