interface FileCreateParams {
    file: Uploadable;
    purpose: "fine-tune" | "assistants";
}

Properties

Properties

file: Uploadable

The File object (not file name) to be uploaded.

purpose: "fine-tune" | "assistants"

The intended purpose of the uploaded file.

Use "fine-tune" for Fine-tuning and "assistants" for Assistants and Messages. This allows us to validate the format of the uploaded file is correct for fine-tuning.

Generated using TypeDoc