Package com.openai.models
Class ImageFile
-
- All Implemented Interfaces:
public final class ImageFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ImageFile.Builder
public final class
ImageFile.Detail
-
Method Summary
Modifier and Type Method Description final String
fileId()
The File ID of the image in the message content. final Optional<ImageFile.Detail>
detail()
Specifies the detail level of the image if specified by the user. final JsonField<String>
_fileId()
The File ID of the image in the message content. final JsonField<ImageFile.Detail>
_detail()
Specifies the detail level of the image if specified by the user. final Map<String, JsonValue>
_additionalProperties()
final ImageFile
validate()
final ImageFile.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ImageFile.Builder
builder()
-
-
Method Detail
-
fileId
final 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.
-
detail
final Optional<ImageFile.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 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.
-
_detail
final JsonField<ImageFile.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
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ImageFile.Builder toBuilder()
-
builder
final static ImageFile.Builder builder()
-
-
-
-