import { CreateFileRequest } from "argot-open-ai/models/components";
// No examples available for this model
Field | Type | Required | Description |
---|---|---|---|
file |
File | Blob | components.CreateFileRequestFile | ✔️ | The File object (not file name) to be uploaded. |
purpose |
components.CreateFileRequestPurpose | ✔️ | 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. |