feat(assemblyai): add vad_threshold parameter for U3 Pro#3927
Merged
markbackman merged 2 commits intopipecat-ai:mainfrom Mar 5, 2026
Merged
feat(assemblyai): add vad_threshold parameter for U3 Pro#3927markbackman merged 2 commits intopipecat-ai:mainfrom
markbackman merged 2 commits intopipecat-ai:mainfrom
Conversation
Codecov Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
5df3d6b to
7ecb75e
Compare
zkleb-aai
added a commit
to zkleb-aai/docs
that referenced
this pull request
Mar 5, 2026
Add documentation for the vad_threshold parameter in AssemblyAI U3 Pro: - Add vad_threshold to AssemblyAIConnectionParams table - Add usage example showing VAD threshold alignment with Silero VAD - Add note about VAD threshold alignment to avoid "dead zone" - Explain the misalignment issue between AssemblyAI (default 0.3) and Pipecat's Silero VAD (default 0.7) This corresponds to the vad_threshold parameter added in pipecat-ai/pipecat#3927
markbackman
approved these changes
Mar 5, 2026
Contributor
markbackman
left a comment
There was a problem hiding this comment.
LGTM!
Please add a changelog entry too:
https://github.com/pipecat-ai/pipecat/blob/main/CONTRIBUTING.md#changelog-entries
Add vad_threshold parameter to AssemblyAIConnectionParams to support voice activity detection threshold configuration for the u3-rt-pro model. This parameter allows users to align AssemblyAI's VAD threshold with their external VAD systems (e.g., Silero VAD) to avoid the "dead zone" where AssemblyAI transcribes speech that the external VAD hasn't detected yet, which can delay interruption handling. - Range: 0.0 to 1.0 (lower = more sensitive) - Default: 0.3 (API default when not sent) - Only applicable to u3-rt-pro model - Automatically included in WebSocket query parameters Recommended usage: Set vad_threshold to match your VAD's activation threshold (e.g., both at 0.3) for optimal performance.
7ecb75e to
acfb07f
Compare
zkleb-aai
added a commit
to zkleb-aai/docs
that referenced
this pull request
Mar 5, 2026
- Add vad_threshold parameter documentation for U3 Pro - Remove formatted_finals (v2 API legacy parameter) - Remove word_finalization_max_wait_time (v2 API legacy parameter) - Clarify format_turns only applies to Universal-Streaming models - Add VAD threshold alignment usage example and notes This corresponds to the code changes in pipecat-ai/pipecat#3927
zkleb-aai
added a commit
to zkleb-aai/docs
that referenced
this pull request
Mar 5, 2026
- Add vad_threshold parameter documentation for U3 Pro - Remove formatted_finals (v2 API legacy parameter) - Remove word_finalization_max_wait_time (v2 API legacy parameter) - Clarify format_turns only applies to Universal-Streaming models - Add VAD threshold alignment usage example and notes This corresponds to the code changes in pipecat-ai/pipecat#3927
zkleb-aai
added a commit
to zkleb-aai/docs
that referenced
this pull request
Mar 5, 2026
- Add vad_threshold parameter documentation for U3 Pro - Remove formatted_finals (v2 API legacy parameter) - Remove word_finalization_max_wait_time (v2 API legacy parameter) - Clarify format_turns only applies to Universal-Streaming models - Add VAD threshold alignment usage example and notes This corresponds to the code changes in pipecat-ai/pipecat#3927
zkleb-aai
added a commit
to zkleb-aai/docs
that referenced
this pull request
Mar 5, 2026
- Add vad_threshold parameter documentation for U3 Pro - Remove formatted_finals (v2 API legacy parameter) - Remove word_finalization_max_wait_time (v2 API legacy parameter) - Clarify format_turns only applies to Universal-Streaming models - Add VAD threshold alignment usage example and notes This corresponds to the code changes in pipecat-ai/pipecat#3927
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add vad_threshold parameter to AssemblyAIConnectionParams to support voice activity detection threshold configuration for the u3-rt-pro model.
This parameter allows users to align AssemblyAI's VAD threshold with their external VAD systems (e.g., Silero VAD) to avoid the "dead zone" where AssemblyAI transcribes speech that the external VAD hasn't detected yet, which can delay interruption handling.
Recommended usage: Set vad_threshold to match your VAD's activation threshold (e.g., both at 0.3) for optimal performance.
Please describe the changes in your PR. If it is addressing an issue, please reference that as well.