sttp.openai.requests.upload.UploadRequestBody
See theUploadRequestBody companion object
Represents the request body for uploading a file.
Value parameters
- bytes
-
The number of bytes in the file you are uploading.
- filename
-
The name of the file to upload.
- mimeType
-
The MIME type of the file. This must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision.
- purpose
-
The intended purpose of the uploaded file.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article