Package com.openai.models
Class ImageFileDelta.Builder
-
- All Implemented Interfaces:
public final class ImageFileDelta.Builder
A builder for ImageFileDelta.
-
-
Method Summary
Modifier and Type Method Description final ImageFileDelta.Builder
detail(ImageFileDelta.Detail detail)
Specifies the detail level of the image if specified by the user. final ImageFileDelta.Builder
detail(JsonField<ImageFileDelta.Detail> detail)
Specifies the detail level of the image if specified by the user. final ImageFileDelta.Builder
fileId(String fileId)
The File ID of the image in the message content. final ImageFileDelta.Builder
fileId(JsonField<String> fileId)
The File ID of the image in the message content. final ImageFileDelta.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ImageFileDelta.Builder
putAdditionalProperty(String key, JsonValue value)
final ImageFileDelta.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ImageFileDelta.Builder
removeAdditionalProperty(String key)
final ImageFileDelta.Builder
removeAllAdditionalProperties(Set<String> keys)
final ImageFileDelta
build()
-
-
Method Detail
-
detail
final ImageFileDelta.Builder detail(ImageFileDelta.Detail detail)
Specifies the detail level of the image if specified by the user.
low
uses fewer tokens, you can opt in to high resolution usinghigh
.
-
detail
final ImageFileDelta.Builder detail(JsonField<ImageFileDelta.Detail> detail)
Specifies the detail level of the image if specified by the user.
low
uses fewer tokens, you can opt in to high resolution usinghigh
.
-
fileId
final ImageFileDelta.Builder fileId(String fileId)
The File ID of the image in the message content. Set
purpose="vision"
when uploading the File if you need to later display the file content.
-
fileId
final ImageFileDelta.Builder fileId(JsonField<String> fileId)
The File ID of the image in the message content. Set
purpose="vision"
when uploading the File if you need to later display the file content.
-
additionalProperties
final ImageFileDelta.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ImageFileDelta.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ImageFileDelta.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ImageFileDelta.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ImageFileDelta.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ImageFileDelta build()
-
-
-
-