Customer-service-assistant vad-service
Shared voice activity detection for the multi-tenant voice assistant platform.
install
source · Clone the upstream repo
git clone https://github.com/papdawin/customer-service-assistant
manifest:
vad/skill.mdsource content
VAD Service (WebRTC VAD)
Purpose
Detect speech segments for a multi-tenant voice assistant deployed at different companies. This service is shared across tenants.
Interfaces
- HTTP GET
for session counts./health - HTTP POST
for offline segment detection and trimmed audio./analyze - HTTP POST
for streaming VAD sessions and triggers./frame
Models
- WebRTC VAD engine
with aggressiveness 0-3.webrtcvad.Vad
Libraries
fastapipydanticwebrtcvad- stdlib:
,asyncio
,base64
,struct
,timelogging
Runtime Config
- None (all tuning is request parameters).
Main Components
state machine with energy gating.VadSession- Offline segmentation and trimmed-audio output.
- Session tracking with async lock.