Prometheus Entity Management API
    Preparing search index...

    Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).

    interface Part {
        content?:
            | { $case: "text"; value: string }
            | { $case: "raw"; value: Buffer }
            | { $case: "url"; value: string }
            | { $case: "data"; value: any };
        filename: string;
        mediaType: string;
        metadata: { [key: string]: any } | undefined;
    }
    Index
    content?:
        | { $case: "text"; value: string }
        | { $case: "raw"; value: Buffer }
        | { $case: "url"; value: string }
        | { $case: "data"; value: any }
    filename: string

    An optional filename for the file (e.g., "document.pdf").

    mediaType: string

    The media_type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png"). This field is available for all part types.

    metadata: { [key: string]: any } | undefined

    Optional. metadata associated with this part.