VoiceAgentBaseDefinition interface

Shared voice-agent settings; protocol-specific fields remain flat on each subtype. Creates and updates produce immutable versions. Each version selects its own protocol, so a new version can switch between Realtime and Live.

Extends

Properties

instructions

Frontend instructions, templated with structured_inputs. Backend instructions belong in delegation.responses.

kind

Always voice.

store

Persists conversation content and audio in Foundry, not native Live recordings. Defaults to false.

structured_inputs

Template inputs for session instructions and supported greetings.

sub_protocol

The discriminator possible values: realtime, live

Inherited Properties

rai_config

Configuration for Responsible AI (RAI) content filtering and safety features.

Property Details

instructions

Frontend instructions, templated with structured_inputs. Backend instructions belong in delegation.responses.

instructions?: string

Property Value

string

kind

Always voice.

kind: "voice"

Property Value

"voice"

store

Persists conversation content and audio in Foundry, not native Live recordings. Defaults to false.

store?: boolean

Property Value

boolean

structured_inputs

Template inputs for session instructions and supported greetings.

structured_inputs?: Record<string, StructuredInputDefinition>

Property Value

Record<string, StructuredInputDefinition>

sub_protocol

The discriminator possible values: realtime, live

sub_protocol?: VoiceAgentSubProtocol

Property Value

Inherited Property Details

rai_config

Configuration for Responsible AI (RAI) content filtering and safety features.

rai_config?: RaiConfig

Property Value

Inherited From AgentDefinition.rai_config