MCProtocol::SamplingMessage
Inherits JSON::Serializable < Reference < Object
Describes a message issued to or received from an LLM API.
Constructors
new(content : TextContent | ImageContent, role : Role)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content
Sourcerole
Source