examples: assistant aggregator should always goes after transport

This commit is contained in:
Aleix Conchillo Flaqué
2024-09-12 00:29:43 -07:00
parent 3665734972
commit f08b25dbb2
2 changed files with 2 additions and 2 deletions

View File

@@ -74,8 +74,8 @@ async def main():
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))

View File

@@ -147,8 +147,8 @@ Your task is to help the user understand and learn from this article in 2 senten
tma_in,
llm,
tts,
tma_out,
transport.output(),
tma_out,
])
task = PipelineTask(pipeline, PipelineParams(allow_interruptions=True, enable_metrics=True))