struct OpenAI::FileResponse
- OpenAI::FileResponse
- Struct
- Value
- Object
Overview
Represents OpenAPI file object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/file.crConstructors
Instance Method Summary
-
#bytes : Int32
The size of the file in bytes
- #created_at : Time
-
#filename : String
The name of the file
-
#id : String
The file identifier, which can be referenced in the API endpoints.
-
#object : String
the object type, which is always "file"
-
#purpose : String
The intended purpose of the file.
-
#status : FileStatus | Nil
The current status of the file
-
#status_details : String | Nil
Additional details about the status of the file.
Constructor Detail
Instance Method Detail
def status_details : String | Nil
#
Additional details about the status of the file. If the file is in the error state, this will include a message describing the error.