VoiceAgentSessionResponseConfig interface
音声エージェントサービスが返す効果的安定リアルタイムセッション設定。
プロパティ
| animation | セッションのアニメーション設定。 |
| audio | セッションの入出力オーディオ設定です。 |
| avatar | セッションのアバター設定。 |
| expires_at | セッションの有効期限はUnixのタイムスタンプとして秒単位で示されます。 |
| greeting | セッション設定後に積極的なアシスタントの挨拶が始まりました。 |
| id | セッション識別子。 |
| include | サービス出力に含める追加のフィールド。 |
| instructions | 指示はセッション中ずっと適用されていました。 |
| interim_response | 遅延やツール実行のための中間応答設定。 |
| max_output_tokens | 1つの応答に対する最大出力トークン数。 |
| metadata | セッションには最大16本の文字列キー・値ペアが接続されます。 |
| model | 選ばれたモデル。 |
| object | オブジェクトの種類。 常に |
| output_modalities | 出力モダリティはセッションで可能になりました。 |
| parallel_tool_calls | モデルが複数のツールを並列に呼び出しできるかどうか。 |
| reasoning | 互換性のあるリアルタイムモデルの推論設定。 |
| temperature | 互換性のあるカスケードパイプラインのサンプリング温度。 |
| tools | セッションで利用可能なツール。 |
| tool_choice | セッション中の道具選択行動。 |
| type | セッションの種類。 常に |
プロパティの詳細
animation
audio
avatar
expires_at
セッションの有効期限はUnixのタイムスタンプとして秒単位で示されます。
expires_at?: Date
プロパティ値
Date
greeting
セッション設定後に積極的なアシスタントの挨拶が始まりました。
greeting?: VoiceAgentGreetingConfigUnion
プロパティ値
id
セッション識別子。
id: string
プロパティ値
string
include
サービス出力に含める追加のフィールド。
include?: VoiceAgentSessionIncludeOption[]
プロパティ値
instructions
指示はセッション中ずっと適用されていました。
instructions?: string
プロパティ値
string
interim_response
遅延やツール実行のための中間応答設定。
interim_response?: VoiceAgentInterimResponseConfigUnion
プロパティ値
max_output_tokens
metadata
セッションには最大16本の文字列キー・値ペアが接続されます。
metadata?: Record<string, string>
プロパティ値
Record<string, string>
model
選ばれたモデル。
model: string
プロパティ値
string
object
オブジェクトの種類。 常に realtime.session です。
object: "realtime.session"
プロパティ値
"realtime.session"
output_modalities
parallel_tool_calls
モデルが複数のツールを並列に呼び出しできるかどうか。
parallel_tool_calls?: boolean
プロパティ値
boolean
reasoning
temperature
互換性のあるカスケードパイプラインのサンプリング温度。
temperature?: number
プロパティ値
number
tools
tool_choice
type
セッションの種類。 常に realtime です。
type: "realtime"
プロパティ値
"realtime"