An item the user has elected to attach to provide additional context about their query.

interface Attachment {
    fileName?: string;
    mimeType?: string;
    type:
        | "audio"
        | "clipboard"
        | "screenshot"
        | "file";
    value: string;
}

Properties

fileName?: string
mimeType?: string
type:
    | "audio"
    | "clipboard"
    | "screenshot"
    | "file"
value: string