Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Files.FileObject

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: FileObject

OpenAI.Files.FileObject

The File object represents a document that has been uploaded to OpenAI.

Table of contents

Properties

Properties

bytes

bytes: number

The size of the file, in bytes.

Defined in

node_modules/openai/resources/files.d.ts:74


created_at

created_at: number

The Unix timestamp (in seconds) for when the file was created.

Defined in

node_modules/openai/resources/files.d.ts:78


filename

filename: string

The name of the file.

Defined in

node_modules/openai/resources/files.d.ts:82


id

id: string

The file identifier, which can be referenced in the API endpoints.

Defined in

node_modules/openai/resources/files.d.ts:70


object

object: "file"

The object type, which is always file.

Defined in

node_modules/openai/resources/files.d.ts:86


purpose

purpose: "fine-tune" | "fine-tune-results" | "assistants" | "assistants_output"

The intended purpose of the file. Supported values are fine-tune, fine-tune-results, assistants, and assistants_output.

Defined in

node_modules/openai/resources/files.d.ts:91


status

status: "error" | "uploaded" | "processed"

Deprecated. The current status of the file, which can be either uploaded, processed, or error.

Defined in

node_modules/openai/resources/files.d.ts:96


status_details

Optional status_details: string

Deprecated. For details on why a fine-tuning training file failed validation, see the error field on fine_tuning.job.

Defined in

node_modules/openai/resources/files.d.ts:101

Typescript Libraries

Modules

Namespaces

Clone this wiki locally