The content part that is done.

interface Part {
    audio?: string;
    text?: string;
    transcript?: string;
    type?: "text" | "audio";
}

Properties

audio?: string

Base64-encoded audio data (if type is "audio").

text?: string

The text content (if type is "text").

transcript?: string

The transcript of the audio (if type is "audio").

type?: "text" | "audio"

The content type ("text", "audio").