VoiceAgentLiveDefinition interface

ライブボイスエージェントの定義。 その構成(モデル、命令、音声、委任)は、Foundry GPT Live の展開を用いてマネージドな音声通話体験を実現します。 GET /agents/{agent_name}/endpoint/protocols/voice/live/sessionsを通じてライブボイスセッションを確立しましょう。 作成や更新のたびに、新しい不変のバージョンが生成されます。

Extends

プロパティ

audio

音声フォーマットと音声出力の起動。

delegation

委任設定。 クライアントモードでは省略してください。 responses.model は Live リソース内のバックエンド展開名であり、モデルカタログ ID ではありません。

greeting

テンプレートのみのスタートアップグリーティングで、セッション構造化された入力でレンダリングされます。 Foundry専用;ネイティブのLive設定では送信されません。

model

GPT Liveのデプロイメント名。

model_type

Foundryモデルの展開を使用します。

sub_protocol

Live プロトコルを選択します。

継承されたプロパティ

instructions

フロントエンドの手順書をテンプレート化してstructured_inputs。 バックエンドの指示は delegation.response に属します。

kind

常に声を。

rai_config

責任ある AI (RAI) コンテンツのフィルタリングと安全機能の構成。

store

会話コンテンツや音声はFoundryで保存し、ネイティブのライブ録音は保持しません。 既定値は false です。

structured_inputs

セッション指示やサポートされたあいさまのテンプレート入力。

プロパティの詳細

audio

音声フォーマットと音声出力の起動。

audio?: LiveInitialSessionAudioParam

プロパティ値

delegation

委任設定。 クライアントモードでは省略してください。 responses.model は Live リソース内のバックエンド展開名であり、モデルカタログ ID ではありません。

delegation?: VoiceAgentLiveDelegationUnion

プロパティ値

greeting

テンプレートのみのスタートアップグリーティングで、セッション構造化された入力でレンダリングされます。 Foundry専用;ネイティブのLive設定では送信されません。

greeting?: VoiceAgentTemplateGreetingConfig

プロパティ値

model

GPT Liveのデプロイメント名。

model: string

プロパティ値

string

model_type

Foundryモデルの展開を使用します。

model_type: "self_deployed"

プロパティ値

"self_deployed"

sub_protocol

Live プロトコルを選択します。

sub_protocol: "live"

プロパティ値

"live"

継承されたプロパティの詳細

instructions

フロントエンドの手順書をテンプレート化してstructured_inputs。 バックエンドの指示は delegation.response に属します。

instructions?: string

プロパティ値

string

VoiceAgentBaseDefinition.instructionsから継承

kind

常に声を。

kind: "voice"

プロパティ値

"voice"

VoiceAgentBaseDefinition.kindから継承

rai_config

責任ある AI (RAI) コンテンツのフィルタリングと安全機能の構成。

rai_config?: RaiConfig

プロパティ値

VoiceAgentBaseDefinition.rai_configから受け継いだ

store

会話コンテンツや音声はFoundryで保存し、ネイティブのライブ録音は保持しません。 既定値は false です。

store?: boolean

プロパティ値

boolean

VoiceAgentBaseDefinition.storeから受け継いだ

structured_inputs

セッション指示やサポートされたあいさまのテンプレート入力。

structured_inputs?: Record<string, StructuredInputDefinition>

プロパティ値

Record<string, StructuredInputDefinition>

VoiceAgentBaseDefinition.structured_inputsから受け継いだ