Skip to content

STT-agnostic PII redaction for transcripts before they hit logs/storage #6050

Description

@kamil-bidus

Feature Type

Would make my life easier

Feature Description

Right now there's no STT-agnostic way to redact PII from transcripts before they get logged or archived. The only native option is the Deepgram redact param (#5692), which runs at the vendor and only helps if you're on Deepgram. Switch STT and raw PII lands in your logs and storage again.

For anyone under GDPR/HIPAA/PCI that means writing your own redaction pass on every project. Would the team consider a documented redaction point - even just a recommended pattern on the end-of-call transcript callback - so this isn't tied to one provider?

Workarounds / Alternatives

We ended up building this ourselves: livekit-plugins-piiguard. Runs locally over the transcript, STT-agnostic, regex by default with an optional Presidio backend, and hands back a RedactedTranscript with per-entity counts for audit. Happy to upstream the pattern via the livekit-plugins-minimal template if that's a direction you'd want.

Additional Context

Cleanest hook I found is the end-of-call transcript callback: redact there, before anything gets persisted or forwarded downstream. Even if the answer is "keep it in userland," a documented pattern (and a pointer to community plugins that do it) would help anyone running voice agents on personal data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions