Class CreateUploadRequest.Builder
java.lang.Object
io.github.stefanbratanov.jvm.openai.CreateUploadRequest.Builder
- Enclosing class:
- CreateUploadRequest
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filename
- Parameters:
filename
- The name of the file to upload.
-
purpose
- Parameters:
purpose
- The intended purpose of the uploaded file.
-
purpose
- Parameters:
purpose
- The intended purpose of the uploaded file.
-
bytes
- Parameters:
bytes
- The number of bytes in the file you are uploading.
-
mimeType
- Parameters:
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.
-
build
-