Inworld TTS services: Add websocket TTS class, add word-timestamp alignment

This commit is contained in:
Mark Backman
2025-12-16 13:46:29 -05:00
parent 88d909d468
commit bd3bf9a00e
6 changed files with 797 additions and 405 deletions

View File

@@ -0,0 +1,8 @@
- Changed Inworld's TTS service implementations:
- Previously, the HTTP implementation was named `InworldTTSService`. That has
been moved to `InworldHttpTTSService`. This service now supports
word-timestamp alignment data in both streaming and non-streaming modes.
- Updated the `InworldTTSService` class to use Inworld's Websocket API. This
class now has support for word-timestamp alignment data and tracks contexts
for each user turn.