Package com.openai.models.evals
Class EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage
-
- All Implemented Interfaces:
public final class EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage
An image input to the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage.Builder
A builder for InputImage.
-
Method Summary
Modifier and Type Method Description final String
imageUrl()
The URL of the image input. final JsonValue
_type()
The type of the image input. final Optional<String>
detail()
The detail level of the image to be sent to the model. final JsonField<String>
_imageUrl()
Returns the raw JSON value of imageUrl. final JsonField<String>
_detail()
Returns the raw JSON value of detail. final Map<String, JsonValue>
_additionalProperties()
final EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage.Builder
toBuilder()
final EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage.Builder
builder()
Returns a mutable builder for constructing an instance of InputImage. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the image input. Always
input_image
.Expected to always return the following:
JsonValue.from("input_image")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
detail
final Optional<String> detail()
The detail level of the image to be sent to the model. One of
high
,low
, orauto
. Defaults toauto
.
-
_imageUrl
final JsonField<String> _imageUrl()
Returns the raw JSON value of imageUrl.
Unlike imageUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_detail
final JsonField<String> _detail()
Returns the raw JSON value of detail.
Unlike detail, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage.Builder toBuilder()
-
validate
final EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage validate()
-
builder
final static EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage.Builder builder()
Returns a mutable builder for constructing an instance of InputImage.
The following fields are required:
.imageUrl()
-
-
-
-