struct

Prompt::Content

Inherits YAML::Serializable::Strict < YAML::Serializable < Struct < Value < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(type : Prompt::ContentType = ContentType::Text, text : String | Nil = nil, data : String | Nil = nil, mime_type : String | Nil = nil)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

data
Source
mime_type
Source
text
Source
type
Source