changelog: add updates for #3583
This commit is contained in:
1
changelog/3583.added.2.md
Normal file
1
changelog/3583.added.2.md
Normal file
@@ -0,0 +1 @@
|
||||
- Added `VADController` for managing voice activity detection state and emitting speech events independently of transport or pipeline processors.
|
||||
1
changelog/3583.added.3.md
Normal file
1
changelog/3583.added.3.md
Normal file
@@ -0,0 +1 @@
|
||||
- Added `VADProcessor` for detecting speech in audio streams within a pipeline. Pushes `VADUserStartedSpeakingFrame`, `VADUserStoppedSpeakingFrame`, and `UserSpeakingFrame` downstream based on VAD state changes.
|
||||
10
changelog/3583.added.md
Normal file
10
changelog/3583.added.md
Normal file
@@ -0,0 +1,10 @@
|
||||
- Added `vad_analyzer` parameter to `LLMUserAggregatorParams`. VAD analysis is now handled inside the `LLMUserAggregator` rather than in the transport, keeping voice activity detection closer to where it is consumed. The `vad_analyzer` on `BaseInputTransport` is now deprecated.
|
||||
|
||||
```python
|
||||
context_aggregator = LLMContextAggregatorPair(
|
||||
context,
|
||||
user_params=LLMUserAggregatorParams(
|
||||
vad_analyzer=SileroVADAnalyzer(),
|
||||
),
|
||||
)
|
||||
```
|
||||
1
changelog/3583.deprecated.md
Normal file
1
changelog/3583.deprecated.md
Normal file
@@ -0,0 +1 @@
|
||||
- ⚠️ Deprecated `vad_analyzer` parameter on `BaseInputTransport`. Pass `vad_analyzer` to `LLMUserAggregatorParams` instead or use `VADProcessor` in the pipeline.
|
||||
Reference in New Issue
Block a user