class
MCProtocol::ImageContentAnnotations
- MCProtocol::ImageContentAnnotations
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/image_content.crConstructors
- .new(pull : JSON::PullParser)
- .new(audience : Array(Role) | Nil = Nil, priority : Float64 | Nil = Nil)
Instance Method Summary
-
#audience : Array(Role) | Nil
Describes who the intended customer of this object or data is.
-
#priority : Float64 | Nil
Describes how important this data is for operating the server.
Constructor Detail
Instance Method Detail
Describes who the intended customer of this object or data is.
It can include multiple entries to indicate content useful for multiple audiences (e.g., ["user", "assistant"]).
def priority : Float64 | Nil
#
Describes how important this data is for operating the server.
A value of 1 means "most important," and indicates that the data is effectively required, while 0 means "least important," and indicates that the data is entirely optional.