MCProtocol::ImageContent
Inherits JSON::Serializable < Reference < Object
An image provided to or from an LLM.
Constructors
new(data : String, mimeType : String, annotations : ImageContentAnnotations | Nil = Nil, type : String = "image")
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
annotations
Sourcetype
Source