Add MQTT-based STT worker for VAD segments
Some checks failed
Build and Push EVS Bridge Image / docker (push) Has been cancelled

This commit is contained in:
Kai
2026-02-13 17:49:26 +01:00
parent fd1bfb4786
commit 5294c24b08
7 changed files with 292 additions and 2 deletions

14
stt-worker/README.md Normal file
View File

@@ -0,0 +1,14 @@
# EVS STT Worker
This worker subscribes to VAD events from MQTT, transcribes the referenced WAV files, and publishes text back to MQTT.
Flow:
- input topic: `evs/<device_id>/vad_segment`
- reads: `wav_path` from JSON payload
- output topic: `evs/<device_id>/transcript`
- error topic: `evs/<device_id>/stt_error`
Default model:
- `STT_MODEL=small`
- `STT_DEVICE=cpu`
- `STT_COMPUTE_TYPE=int8`