VoiceAgentVoiceConfig interface

音声出力の構成。 インライン サブエージェントでは、音声オーバーライドとして直接使用され、セッション レベルの出力オーディオ構成によって拡張されます。 提供者固有のフィールドは以下の方法で選 voice_type:

  • openai: voice と speed。
  • azure-standard: voice、 voice_locale、 speed、 voice_temperature、 custom_lexicon_url、 custom_text_normalization_url、 prefer_locales、 style、 pitch、 volume。
  • azure-custom: style を除くすべてのazure-standardフィールドと custom_voice_endpoint_id を追加します。
  • azure-personal: style を除くすべてのazure-standardフィールドと personal_voice_model を追加します。
  • avatar-voice-sync:voiceとstyleを除くすべてのazure-standardフィールドに加えpersonal_voice_model;声名はアバターから派生します。
  • azure-realtime-native: voice と speed。

プロパティ

custom_lexicon_url

カスタム発音辞典のURLです。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

custom_text_normalization_url

カスタムテキスト正規化設定のURLです。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

custom_voice_endpoint_id

Azure カスタム音声展開エンドポイント識別子。 voice_typeがazure-customされている場合にのみ適用されます。

personal_voice_model

Azureのパーソナルまたはアバターボイスモデル。 voice_typeがazure-personalまたはavatar-voice-syncの場合にのみ適用されます。

pitch

声のピッチ調整。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

prefer_locales

多言語合成に適したBCP-47部位。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

speed

数値出力速度倍率。 既知のすべての voice_type 値に適用され、デフォルトは 1 です。

style

話す声のスタイル。 voice_typeがazure-standardされている場合にのみ適用されます。

voice

声名や識別子。 openai、azure-standard、azure-custom、azure-personal、azure-realtime-nativeに適用されます。 声名はアバターから由来する avatar-voice-syncには適用されません。

voice_locale

強制的なBCP-47出力場所。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

voice_temperature

声の変動や温度。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

voice_type

音声の実装についてです。

volume

声の音量調整。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

プロパティの詳細

custom_lexicon_url

カスタム発音辞典のURLです。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

custom_lexicon_url?: string

プロパティ値

string

custom_text_normalization_url

カスタムテキスト正規化設定のURLです。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

custom_text_normalization_url?: string

プロパティ値

string

custom_voice_endpoint_id

Azure カスタム音声展開エンドポイント識別子。 voice_typeがazure-customされている場合にのみ適用されます。

custom_voice_endpoint_id?: string

プロパティ値

string

personal_voice_model

Azureのパーソナルまたはアバターボイスモデル。 voice_typeがazure-personalまたはavatar-voice-syncの場合にのみ適用されます。

personal_voice_model?: string

プロパティ値

string

pitch

声のピッチ調整。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

pitch?: string

プロパティ値

string

prefer_locales

多言語合成に適したBCP-47部位。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

prefer_locales?: string[]

プロパティ値

string[]

speed

数値出力速度倍率。 既知のすべての voice_type 値に適用され、デフォルトは 1 です。

speed?: number

プロパティ値

number

style

話す声のスタイル。 voice_typeがazure-standardされている場合にのみ適用されます。

style?: string

プロパティ値

string

voice

声名や識別子。 openai、azure-standard、azure-custom、azure-personal、azure-realtime-nativeに適用されます。 声名はアバターから由来する avatar-voice-syncには適用されません。

voice?: string

プロパティ値

string

voice_locale

強制的なBCP-47出力場所。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

voice_locale?: string

プロパティ値

string

voice_temperature

声の変動や温度。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

voice_temperature?: number

プロパティ値

number

voice_type

音声の実装についてです。

voice_type?: VoiceType

プロパティ値

volume

声の音量調整。 azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。

volume?: string

プロパティ値

string