class

OpenAI::EvalItemInputImage

Inherits JSON::Serializable < Reference < Object

An image input block used within EvalItem content arrays.

Constructors

new(type_value : EvalItemInputImageType = EvalItemInputImageType::InputImage, image_url : String = "", detail : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

detail

The detail level of the image to be sent to the model. One of high, low, or auto. Defaults to auto.

Source
detail=(detail : String | Nil)

The detail level of the image to be sent to the model. One of high, low, or auto. Defaults to auto.

Source
image_url

The URL of the image input.

Source
image_url=(image_url : String)

The URL of the image input.

Source
type_value

The type of the image input. Always input_image.

Source
type_value=(type_value : EvalItemInputImageType)

The type of the image input. Always input_image.

Source