import { type FileCreateParams } from "https://deno.land/x/openai@v4.58.1/resources/files.ts";
Properties
purpose: FilePurpose
The intended purpose of the uploaded file.
Use "assistants" for Assistants and Message files, "vision" for Assistants image file inputs, "batch" for Batch API, and "fine-tune" for Fine-tuning.