The file object
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
and vision
.
Deprecated. The current status of the file, which can be either uploaded
, processed
, or error
.
OBJECT The file object
1
2
3
4
5
6
7
8
{
"id": "file-abc123",
"object": "file",
"bytes": 120000,
"created_at": 1677610602,
"filename": "salesOverview.pdf",
"purpose": "assistants",
}