wip - using cartesia word timestamps for context management

This commit is contained in:
Kwindla Hultman Kramer
2024-07-17 14:13:01 -07:00
parent 568eb2ef4c
commit 270007b17c
4 changed files with 124 additions and 40 deletions

View File

@@ -72,7 +72,7 @@ async def main(room_url: str, token):
tma_out # Assistant spoken responses
])
task = PipelineTask(pipeline, PipelineParams(allow_interruptions=True))
task = PipelineTask(pipeline, PipelineParams(allow_interruptions=True, enable_metrics=True))
@transport.event_handler("on_first_participant_joined")
async def on_first_participant_joined(transport, participant):