Files
Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
Retrieve file content
Deprecated
files.retrieve_content(strfile_id) -> FileContent
GET/files/{file_id}/content
Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
The File object represents a document that has been uploaded to OpenAI.
The intended purpose of the file. Supported values are assistants, assistants_output, batch, batch_output, fine-tune, fine-tune-results, vision, and user_data.
The intended purpose of the uploaded file. One of:
assistants: Used in the Assistants APIbatch: Used in the Batch APIfine-tune: Used for fine-tuningvision: Images used for vision fine-tuninguser_data: Flexible file type for any purposeevals: Used for eval data sets