Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chatgpt-cli
v0.6.0
ChatGPT
ApiKeyError
CLI
Parser
Client
Config
ConfigData
Generator
Html
HtmlGenerationError
Message
Launcher
Magic
Base
Cd
Clear
Config
Copy
Debug
Edit
Help
History
Html
List
Load
Model
Response
Resume
Save
Shift
System
Tokens
Undo
Webapp
Write
PostData
ResponseData
SigIntError
Substitutor
Base
Command
FilePath
Stderr
Stdout
SystemCommand
Colorize
ObjectExtensions
HTTP
Client
Generated using Crystal 1.11.2
2024-10-17 21:41:02 UTC
class
ChatGPT::
Generator::
Html::
Message
ChatGPT::Generator::Html::Message
Reference
Object
Defined in:
chatgpt/generator/message.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
]