Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chatgpt-cli
v0.2.1
ChatGPT
ApiKeyError
CLI
Parser
Client
Config
ConfigData
HtmlGenerator
HtmlGenerationError
Message
InputSubstitutor
MagicCommandRunner
PostData
ResponseData
SigIntError
SystemCommandRunner
WebPageCompressor
FetchError
HTTP
Client
Generated using Crystal 1.14.0
2024-11-26 19:07:45 UTC
class
ChatGPT::
HtmlGenerator::
Message
ChatGPT::HtmlGenerator::Message
Reference
Object
Defined in:
chatgpt/html_generator.cr
Constructors
.new
(message : Hash(String, String))
Instance Method Summary
#avatar_class
#avatar_image
#content
#direction
#role
Constructor Detail
def self.
new
(message : Hash(String, String))
#
[
View source
]
Instance Method Detail
def
avatar_class
#
[
View source
]
def
avatar_image
#
[
View source
]
def
content
#
[
View source
]
def
direction
#
[
View source
]
def
role
#
[
View source
]