A file input to the model.

interface ResponseInputFile {
    file_data?: string;
    file_id?: string;
    filename?: string;
    type: "input_file";
}

Properties

file_data?: string

The content of the file to be sent to the model.

file_id?: string

The ID of the file to be sent to the model.

filename?: string

The name of the file to be sent to the model.

type: "input_file"

The type of the input item. Always input_file.