RealtimeServerEventResponseContentPartDonePart interface

model interface RealtimeServerEventResponseContentPartDonePart

Properties

audio

Base64-encoded audio included when the finalized content part has type audio.

format

The audio format, when this is an audio content part.

text

Text included when the finalized content part has type text.

transcript

The transcript associated with a finalized audio content part.

type

Whether the finalized content part contains audio or text.

Property Details

audio

Base64-encoded audio included when the finalized content part has type audio.

audio?: string

Property Value

string

format

The audio format, when this is an audio content part.

format?: RealtimeAudioFormatsUnion

Property Value

text

Text included when the finalized content part has type text.

text?: string

Property Value

string

transcript

The transcript associated with a finalized audio content part.

transcript?: string

Property Value

string

type

Whether the finalized content part contains audio or text.

type?: "text" | "audio"

Property Value

"text" | "audio"