class

MCProtocol::EmbeddedResourceAnnotations

Inherits JSON::Serializable < Reference < Object

Constructors

new(audience : Array(Role) | Nil = Nil, priority : Float64 | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

audience

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"]).

Source
priority

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.

Source