Skip to content

feat(deepgram): add numerals, profanity_filter, and redact options to STTv2 (Flux) - #6993

Open
vadimatmurphy wants to merge 2 commits into
livekit:mainfrom
vadimatmurphy:deepgram-flux-numerals
Open

feat(deepgram): add numerals, profanity_filter, and redact options to STTv2 (Flux)#6993
vadimatmurphy wants to merge 2 commits into
livekit:mainfrom
vadimatmurphy:deepgram-flux-numerals

Conversation

@vadimatmurphy

@vadimatmurphy vadimatmurphy commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Fixes #6992

Adds numerals, profanity_filter, and redact options to STTv2, wired through STTOptions, both update_options paths, and the websocket query string. Flux only accepts these at connection time (no Configure toggle), so changing any of them via update_options triggers a reconnect instead of an in-band Configure message. redact is typed to the two values Flux accepts, numbers and aggressive_numbers; entity redaction (pci, pii, ...) is not supported by Flux.

Verified against the live /v2/listen endpoint: all three params are accepted at handshake (including through this plugin's connection path), while unsupported values and Nova-only params are rejected with HTTP 400. Docs: https://developers.deepgram.com/docs/numerals, https://developers.deepgram.com/docs/profanity-filter, https://developers.deepgram.com/docs/redaction

The query-string construction in _connect_ws moved into a _live_config helper so tests can assert on it directly. Tests cover the reconnect behavior and the presence/absence of the new params in the connection config.

Supersedes #6506 (closed unmerged, unsigned CLA).

@vadimatmurphy
vadimatmurphy requested a review from a team as a code owner August 26, 2026 18:51

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@vadimatmurphy vadimatmurphy changed the title feat(deepgram): add numerals option to STTv2 (Flux) feat(deepgram): add numerals, profanity_filter, and redact options to STTv2 (Flux) Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deepgram: STTv2 (Flux) does not expose numerals, profanity_filter, or redact

1 participant