InputFile interface

Represents an assistant that can call the model and use tools.

Properties

bytes

The size of the file, in bytes.

createdAt

The Unix timestamp, in seconds, representing when this object was created.

filename

The name of the file.

id

The identifier, which can be referenced in API endpoints.

purpose

The intended purpose of a file.

Property Details

bytes

The size of the file, in bytes.

bytes: number

Property Value

number

createdAt

The Unix timestamp, in seconds, representing when this object was created.

createdAt: Date

Property Value

Date

filename

The name of the file.

filename: string

Property Value

string

id

The identifier, which can be referenced in API endpoints.

id: string

Property Value

string

purpose

The intended purpose of a file.

purpose: string

Property Value

string