class
MCProtocol::TextContent
- MCProtocol::TextContent
- Reference
- Object
Overview
Text provided to or from an LLM.
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/text_content.crConstructors
- .new(pull : JSON::PullParser)
- .new(text : String, annotations : TextContentAnnotations | Nil = Nil, type : String = "text")
Instance Method Summary
- #annotations : TextContentAnnotations | Nil
-
#text : String
The text content of the message.
- #type : String
Constructor Detail
def self.new(text : String, annotations : TextContentAnnotations | Nil = Nil, type : String = "text")
#