class MCProtocol::ResourceTemplateAnnotations

Included Modules

Defined in:

mcprotocol/resource_template.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(audience : Array(Role) | Nil = Nil, priority : Float64 | Nil = Nil) #

[View source]

Instance Method Detail

def audience : Array(Role) | Nil #

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


[View source]
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.


[View source]