Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 1.28 KB

OpenAIFile.md

File metadata and controls

32 lines (26 loc) · 1.28 KB

OpenapiClient::OpenAIFile

Properties

Name Type Description Notes
id String The file identifier, which can be referenced in the API endpoints.
bytes Integer The size of the file, in bytes.
created_at Integer The Unix timestamp (in seconds) for when the file was created.
filename String The name of the file.
object String The object type, which is always `file`.
purpose String The intended purpose of the file. Supported values are `fine-tune`, `fine-tune-results`, `assistants`, and `assistants_output`.
status String Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.
status_details String Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. [optional]

Example

require 'openapi_client'

instance = OpenapiClient::OpenAIFile.new(
  id: null,
  bytes: null,
  created_at: null,
  filename: null,
  object: null,
  purpose: null,
  status: null,
  status_details: null
)