RealtimeServerEventResponseAudioTranscriptDone interface

モデル生成の音声出力の文字起こしがストリーミングで終わったら返送されます。 また、応答が中断、不完全、またはキャンセルされた場合にも発信されます。

Extends

プロパティ

content_index

アイテムのコンテンツ配列内のコンテンツ部分のインデックスです。

event_id

サーバー イベントの一意の ID。

item_id

項目の ID。

output_index

回答における出力項目のインデックス。

response_id

返答のIDです。

transcript

音声の最終書き起こし。

type

イベントの種類は response.output_audio_transcript.doneでなければなりません。

プロパティの詳細

content_index

アイテムのコンテンツ配列内のコンテンツ部分のインデックスです。

content_index: number

プロパティ値

number

event_id

サーバー イベントの一意の ID。

event_id: string

プロパティ値

string

item_id

項目の ID。

item_id: string

プロパティ値

string

output_index

回答における出力項目のインデックス。

output_index: number

プロパティ値

number

response_id

返答のIDです。

response_id: string

プロパティ値

string

transcript

音声の最終書き起こし。

transcript: string

プロパティ値

string

type

イベントの種類は response.output_audio_transcript.doneでなければなりません。

type: "response.output_audio_transcript.done"

プロパティ値

"response.output_audio_transcript.done"