interface File {
    file_data?: string;
    file_id?: string;
    filename?: string;
}

Properties

file_data?: string

The base64 encoded file data, used when passing the file to the model as a string.

file_id?: string

The ID of an uploaded file to use as input.

filename?: string

The name of the file, used when passing the file to the model as a string.