cartesia streaming and context management via word-level timestamps

This commit is contained in:
Kwindla Hultman Kramer
2024-07-17 15:17:00 -07:00
parent 270007b17c
commit 2204b8e205
3 changed files with 39 additions and 24 deletions

View File

@@ -68,8 +68,8 @@ async def main(room_url: str, token):
tma_in, # User responses
llm, # LLM
tts, # TTS
tma_out, # Goes before the transport because cartesia has word-level timestamps!
transport.output(), # Transport bot output
tma_out # Assistant spoken responses
])
task = PipelineTask(pipeline, PipelineParams(allow_interruptions=True, enable_metrics=True))