Class: Legion::CLI::Chat::DaemonChat::Response
- Inherits:
-
Struct
- Object
- Struct
- Legion::CLI::Chat::DaemonChat::Response
- Defined in:
- lib/legion/cli/chat/daemon_chat.rb
Overview
Minimal response-like object returned from ask. Responds to the same interface Session#send_message reads.
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#input_tokens ⇒ Object
Returns the value of attribute input_tokens.
-
#model ⇒ Object
Returns the value of attribute model.
-
#output_tokens ⇒ Object
Returns the value of attribute output_tokens.
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
26 27 28 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 26 def content @content end |
#input_tokens ⇒ Object
Returns the value of attribute input_tokens
26 27 28 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 26 def input_tokens @input_tokens end |
#model ⇒ Object
Returns the value of attribute model
26 27 28 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 26 def model @model end |
#output_tokens ⇒ Object
Returns the value of attribute output_tokens
26 27 28 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 26 def output_tokens @output_tokens end |