final case class OpenAIFile(id: String, bytes: Int, createdAt: Int, filename: String, object: Object, purpose: Purpose, status: Status, statusDetails: Optional[String] = Optional.Absent) extends Product with Serializable
OpenAIFile model
The File object represents a document that has been uploaded to OpenAI.
- id
The file identifier, which can be referenced in the API endpoints.
- bytes
The size of the file, in bytes.
- createdAt
The Unix timestamp (in seconds) for when the file was created.
- filename
The name of the file.
- object
The object type, which is always
file.- purpose
The intended purpose of the file. Supported values are
fine-tune,fine-tune-results,assistants, andassistants_output.- status
Deprecated. The current status of the file, which can be either
uploaded,processed, orerror.- statusDetails
Deprecated. For details on why a fine-tuning training file failed validation, see the
errorfield onfine_tuning.job.
- Alphabetic
- By Inheritance
- OpenAIFile
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OpenAIFile(id: String, bytes: Int, createdAt: Int, filename: String, object: Object, purpose: Purpose, status: Status, statusDetails: Optional[String] = Optional.Absent)
- id
The file identifier, which can be referenced in the API endpoints.
- bytes
The size of the file, in bytes.
- createdAt
The Unix timestamp (in seconds) for when the file was created.
- filename
The name of the file.
- object
The object type, which is always
file.- purpose
The intended purpose of the file. Supported values are
fine-tune,fine-tune-results,assistants, andassistants_output.- status
Deprecated. The current status of the file, which can be either
uploaded,processed, orerror.- statusDetails
Deprecated. For details on why a fine-tuning training file failed validation, see the
errorfield onfine_tuning.job.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bytes: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val createdAt: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filename: String
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val object: Object
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val purpose: Purpose
- val status: Status
- val statusDetails: Optional[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()