Skip to content

Tighten agent response timing #45

Description

@codingjoe

In the AgentCall class, we currently wait for the counterparty to complete their part of the dialog before starting STT, the LLM, and finally TTS.

A better architecture would stream STT and buffer output text before running inference.
We would start inference at a 250 ms speech gap but cancel (debounce) the inference run if the counterparty starts talking again. Finally, if the counterparty did a 500 ms break, we would run TTS and stream the audio directly to RTP.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions