observers: added UserBotLatencyLogObserver

This commit is contained in:
Aleix Conchillo Flaqué
2025-05-21 15:56:38 -07:00
parent a809b710c5
commit 88e8fcdaca
3 changed files with 56 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `UserBotLatencyLogObserver`. This is an observer that logs the latency
between when the user stops speaking and when the bot starts speaking. This
gives you an initial idea on how quickly the AI services respond.
- Added `SarvamTTSService`, which implements Sarvam AI's TTS API:
https://docs.sarvam.ai/api-reference-docs/text-to-speech/convert.