import { type FileCreateParams } from "https://deno.land/x/openai@v4.29.0/resources/files.ts";
Properties
file: Uploadable
The File object (not file name) to be uploaded.
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.