Package com.openai.models
Class ChatCompletionContentPartImage.ImageUrl
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartImage.ImageUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionContentPartImage.ImageUrl.Builder
A builder for ImageUrl.
public final class
ChatCompletionContentPartImage.ImageUrl.Detail
Specifies the detail level of the image. Learn more in the Vision guide.
-
Method Summary
Modifier and Type Method Description final String
url()
Either a URL of the image or the base64 encoded image data. final Optional<ChatCompletionContentPartImage.ImageUrl.Detail>
detail()
Specifies the detail level of the image. final JsonField<String>
_url()
Either a URL of the image or the base64 encoded image data. final JsonField<ChatCompletionContentPartImage.ImageUrl.Detail>
_detail()
Specifies the detail level of the image. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionContentPartImage.ImageUrl
validate()
final ChatCompletionContentPartImage.ImageUrl.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionContentPartImage.ImageUrl.Builder
builder()
-
-
Method Detail
-
detail
final Optional<ChatCompletionContentPartImage.ImageUrl.Detail> detail()
Specifies the detail level of the image. Learn more in the Vision guide.
-
_detail
final JsonField<ChatCompletionContentPartImage.ImageUrl.Detail> _detail()
Specifies the detail level of the image. Learn more in the Vision guide.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionContentPartImage.ImageUrl validate()
-
toBuilder
final ChatCompletionContentPartImage.ImageUrl.Builder toBuilder()
-
builder
final static ChatCompletionContentPartImage.ImageUrl.Builder builder()
-
-
-
-