Rate this page:

VoiceDSPEvents

Add the following line to your scenario code to use the events:

require(Modules.Agentic);

Constants

ConnectorInformation
Copy URL

Contains information about connector.

Parameters

Error
Copy URL

The error response event.

Parameters

Reset
Copy URL

The Agentic.VoiceDSP is reset.

Parameters

TurnIdle
Copy URL

Triggered when the user has been idle for Agentic.VoiceDSPParameters.userTurnIdleTimeout after Agentic.VoiceDSP.signalAssistantTurnEnded (mirrors Pipecat on_user_turn_idle). Can fire multiple times if the scenario calls Agentic.VoiceDSP.signalAssistantTurnEnded again after handling each idle event.

Parameters

TurnInferenceTriggered
Copy URL

Triggered when a stop strategy has enough signal to start LLM inference for the current turn (mirrors Pipecat on_user_turn_inference_triggered). Fires before Agentic.VoiceDSPEvents.TurnStopped when Agentic.VoiceDSPParameters.asr is configured and the turn analyzer completes before the final transcript arrives. Agentic.VoiceDSPParameters.asrGraceTimeout starts from this event.

Parameters

TurnStarted
Copy URL

Triggered when the user's turn starts (mirrors Pipecat on_user_turn_started). Only fires when Agentic.VoiceDSPParameters.startStrategies are configured via Agentic.createVoiceDSP.

Parameters

TurnStopTimeout
Copy URL

Triggered before Agentic.VoiceDSPEvents.TurnStopped when a turn stop timeout fires. reason is stop_secs when the turn analyzer classified the turn as incomplete and silence exceeded Agentic.TurnDetectorParameters.stopSecs, or controller_timeout when no stop strategy finalized the turn within Agentic.VoiceDSPParameters.userTurnStopTimeout.

Parameters

TurnStopped
Copy URL

Triggered when the user's turn ends with the accumulated transcript (mirrors Pipecat on_user_turn_stopped).

Parameters

Rate this page: