SongGuess
    Preparing search index...

    Type Alias UserMessageContentPart

    Permissive merged content part used inside UserMessage arrays.

    Cabidela has a limitation where anyOf/oneOf with enum-based discrimination inside nested array items does not correctly match different branches for different array elements, so the schema uses a single merged object.

    type UserMessageContentPart = {
        file?: { file_data?: string; file_id?: string; filename?: string };
        image_url?: { detail?: "auto" | "low" | "high"; url?: string };
        input_audio?: { data?: string; format?: "wav" | "mp3" };
        text?: string;
        type: "text" | "image_url" | "input_audio" | "file";
    }
    Index

    Properties

    file?: { file_data?: string; file_id?: string; filename?: string }
    image_url?: { detail?: "auto" | "low" | "high"; url?: string }
    input_audio?: { data?: string; format?: "wav" | "mp3" }
    text?: string
    type: "text" | "image_url" | "input_audio" | "file"