OpenAI::Message
Inherits JSON::Serializable / Reference / Object
Constructors
new(role : String, content : String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content
Sourcecontent=(content : String)
Sourcerole
Sourcerole=(role : String)
Sourceto_hash
Source