Skip to main content

TurnDetectionConfig

Server-side voice-activity / turn-detection settings for AzureVoiceLive.

Constructor

type
string
threshold
number
prefixPaddingMs
number
silenceDurationMs
number
createResponse
boolean
interruptResponse
boolean

InputAudioTranscriptionConfig

Input-audio transcription settings for AzureVoiceLive.

Constructor

model
string

AzureVoiceLiveConfig

Session configuration for the AzureVoiceLive realtime speech-to-speech provider.

Constructor

model
string
voice
string
endpoint
string | null
modalities
string[]
temperature
number | null
maxResponseOutputTokens
number | string | null
turnDetection
TurnDetectionConfig | null
inputAudioTranscription
InputAudioTranscriptionConfig | null
toolChoice
string

AzureVoiceLive

Azure Voice Live realtime speech-to-speech provider. Creates a configured Azure Voice Live provider (full speech-to-speech) for use in a voice agent.

Constructor

apiKey
string
Azure Voice Live API key. Falls back to the AZURE_VOICE_LIVE_API_KEY env var.
config
AzureVoiceLiveConfig
Session config. Default: an AzureVoiceLiveConfig with defaults.
endpoint
string
Endpoint override. Falls back to config.endpoint, then the AZURE_VOICE_LIVE_ENDPOINT env var, then ''.

cleanup

close

getRuntimeConfig

returns
Record<string, any>