VoiceAgentAudioInputConfig interface

Input audio configuration for a voice agent.

Properties

echo_cancellation

Optional server-side echo cancellation settings.

format

The input audio format.

noise_reduction

Input noise reduction. Set to null to disable.

transcription

Asynchronous input-audio transcription. Set to null to disable transcription.

turn_detection

Turn (end-of-speech) detection. Server-side turn detection is enabled by default; set to null to disable it, in which case the client must trigger responses manually.

Property Details

echo_cancellation

Optional server-side echo cancellation settings.

echo_cancellation?: VoiceAgentEchoCancellation

Property Value

format

The input audio format.

format?: RealtimeAudioFormatsUnion

Property Value

noise_reduction

Input noise reduction. Set to null to disable.

noise_reduction?: VoiceAgentNoiseReduction

Property Value

transcription

Asynchronous input-audio transcription. Set to null to disable transcription.

transcription?: VoiceAgentInputTranscription

Property Value

turn_detection

Turn (end-of-speech) detection. Server-side turn detection is enabled by default; set to null to disable it, in which case the client must trigger responses manually.

turn_detection?: VoiceAgentTurnDetectionConfigUnion

Property Value