class

LLM::OpenAI::Content::ImageUrl

Inherits LLM::OpenAI::Content < JSON::Serializable < Reference < Object

Represents image content within a message to the LLM

Constructors

new(pull : JSON::PullParser)

Represents image content within a message to the LLM

Source
new(url)
Source

Instance methods

emit

Emit this content as one or more ChatEvent objects

Source
image_url
Source
image_url=(image_url : Hash(String, String))
Source