nemo_voice_agent.pipecat.services.nvidia
nemo_voice_agent.pipecat.services.nvidia
Local extensions to pipecat’s NVIDIA (Riva / NVCF) services.
Submodules
Package Contents
Classes
API
Bases: NvidiaTTSService
NvidiaTTSService that retries a synthesis stream that never produced audio.
Parameters:
Additional attempts after the first failure. 0 restores
upstream behaviour exactly.
Base delay between attempts; doubled each retry.
Forwarded to NvidiaTTSService.
Run the SynthesizeOnline stream, retrying establishment failures.
Overrides upstream’s single-shot handler. Same contract: forward each
response onto state.response_queue, push the exception on failure,
and always terminate with a None sentinel so _process_responses
can finish.
Retry is deliberately restricted to attempts that produced no audio. Once any frame has reached the audio context, re-running the request would splice a duplicate prefix into the middle of an utterance, which is worse than the dropped turn we are trying to avoid. Since “failed to establish link to worker” fails before the first response, the narrow rule still covers the case that motivated this class.