file_object
Classes:
Name | Description |
---|---|
FileObject |
|
FileObject
Attributes:
Name | Type | Description |
---|---|---|
bytes |
int
|
The size of the file, in bytes. |
created_at |
int
|
The Unix timestamp (in seconds) for when the file was created. |
filename |
str
|
The name of the file. |
id |
str
|
The file identifier, which can be referenced in the API endpoints. |
object |
Literal['file']
|
The object type, which is always |
purpose |
Literal['fine-tune', 'fine-tune-results', 'assistants', 'assistants_output']
|
The intended purpose of the file. |
status |
Literal['uploaded', 'processed', 'error']
|
Deprecated. |
status_details |
Optional[str]
|
Deprecated. |
created_at
instance-attribute
created_at: int
The Unix timestamp (in seconds) for when the file was created.
purpose
instance-attribute
The intended purpose of the file.
Supported values are fine-tune
, fine-tune-results
, assistants
, and
assistants_output
.
status
instance-attribute
Deprecated.
The current status of the file, which can be either uploaded
, processed
, or
error
.