Open Sidebar
Close Sidebar
chatgpt-cli
main
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
class
ChatGPT::
ResponseData
ChatGPT::ResponseData
Reference
Object
Defined in:
chatgpt/response_data.cr
Constructors
.new
(data)
Instance Method Summary
#assistant_message
#to_pretty_json
#tokens
#total_tokens
Constructor Detail
def self.
new
(data)
#
[
View source
]
Instance Method Detail
def
assistant_message
#
[
View source
]
def
to_pretty_json
#
[
View source
]
def
tokens
#
[
View source
]
def
total_tokens
#
[
View source
]