class

OpenAI::ChatCompletionRequestMessageContentPartImageImageUrl

Inherits JSON::Serializable < Reference < Object

Constructors

new(url : String = "", detail : ChatCompletionRequestMessageContentPartImageImageUrlDetail | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

detail

Specifies the detail level of the image. Learn more in the Vision guide.

Source
detail=(detail : ChatCompletionRequestMessageContentPartImageImageUrlDetail | Nil)

Specifies the detail level of the image. Learn more in the Vision guide.

Source
url

Either a URL of the image or the base64 encoded image data.

Source
url=(url : String)

Either a URL of the image or the base64 encoded image data.

Source