VoiceAgentAudioOutputConfig interface

Utdata ljudkonfiguration för en röstagent. Leverantörsspecifika fält väljs av voice_type:

  • openai: voice och speed.
  • azure-standard voice: , voice_locale, , speed, voice_temperature, custom_lexicon_url, custom_text_normalization_urlprefer_localesstylepitch, och volume.
  • azure-custom: alla azure-standard fält utom style, plus custom_voice_endpoint_id.
  • azure-personal: alla azure-standard fält utom style, plus personal_voice_model.
  • avatar-voice-sync: alla azure-standard fält utom voice och style, plus personal_voice_model; röstnamnet härstammar från avataren.
  • azure-realtime-native: voice och speed. format och output_audio_timestamp_types gäller alla rösttyper.

Egenskaper

custom_lexicon_url

URL:en till ett anpassat uttalslexikon. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

custom_text_normalization_url

URL:en till en anpassad textnormaliseringskonfiguration. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

custom_voice_endpoint_id

Azure:s endpoint-identifierare för anpassad röstdistribution. Gäller endast när voice_type är azure-custom.

format

Utgångsljudformatet. Gäller för alla voice_type och är standardinställning till 24 kHz PCM.

output_audio_timestamp_types

Tidsstämplar som ska inkluderas med utgående ljud. Gäller för varje voice_type.

personal_voice_model

Azure personliga eller avatarröstmodellen. Gäller endast när voice_type är azure-personal eller avatar-voice-sync.

pitch

Justeringen av röstens tonhöjd. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

prefer_locales

Föredragna BCP-47-platser för flerspråkig syntes. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

speed

Den numeriska utgångshastighetsmultiplikatorn. Gäller för alla kända voice_type värden och är standard 1.

style

Röstens talstil. Gäller endast när voice_type är azure-standard.

voice

Röstnamnet eller identifieraren. Gäller för openai, azure-standard, azure-custom, , azure-personaloch azure-realtime-native. Det gäller inte för avatar-voice-sync, vilket härleder röstnamnet från avataren.

voice_locale

Den påtvingade BCP-47-utgångsplatsen. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

voice_temperature

Röstvariationens temperatur. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

voice_type

Röstimplementeringen.

volume

Justeringen av röstvolymen. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

Egenskapsinformation

custom_lexicon_url

URL:en till ett anpassat uttalslexikon. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

custom_lexicon_url?: string

Egenskapsvärde

string

custom_text_normalization_url

URL:en till en anpassad textnormaliseringskonfiguration. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

custom_text_normalization_url?: string

Egenskapsvärde

string

custom_voice_endpoint_id

Azure:s endpoint-identifierare för anpassad röstdistribution. Gäller endast när voice_type är azure-custom.

custom_voice_endpoint_id?: string

Egenskapsvärde

string

format

Utgångsljudformatet. Gäller för alla voice_type och är standardinställning till 24 kHz PCM.

format?: RealtimeAudioFormatsUnion

Egenskapsvärde

output_audio_timestamp_types

Tidsstämplar som ska inkluderas med utgående ljud. Gäller för varje voice_type.

output_audio_timestamp_types?: "word"[]

Egenskapsvärde

"word"[]

personal_voice_model

Azure personliga eller avatarröstmodellen. Gäller endast när voice_type är azure-personal eller avatar-voice-sync.

personal_voice_model?: string

Egenskapsvärde

string

pitch

Justeringen av röstens tonhöjd. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

pitch?: string

Egenskapsvärde

string

prefer_locales

Föredragna BCP-47-platser för flerspråkig syntes. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

prefer_locales?: string[]

Egenskapsvärde

string[]

speed

Den numeriska utgångshastighetsmultiplikatorn. Gäller för alla kända voice_type värden och är standard 1.

speed?: number

Egenskapsvärde

number

style

Röstens talstil. Gäller endast när voice_type är azure-standard.

style?: string

Egenskapsvärde

string

voice

Röstnamnet eller identifieraren. Gäller för openai, azure-standard, azure-custom, , azure-personaloch azure-realtime-native. Det gäller inte för avatar-voice-sync, vilket härleder röstnamnet från avataren.

voice?: string

Egenskapsvärde

string

voice_locale

Den påtvingade BCP-47-utgångsplatsen. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

voice_locale?: string

Egenskapsvärde

string

voice_temperature

Röstvariationens temperatur. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

voice_temperature?: number

Egenskapsvärde

number

voice_type

Röstimplementeringen.

voice_type?: VoiceType

Egenskapsvärde

volume

Justeringen av röstvolymen. Gäller för azure-standard, azure-custom, azure-personal, och avatar-voice-sync.

volume?: string

Egenskapsvärde

string