Class: LiterLlm::ResponseUsage
- Inherits:
-
Object
- Object
- LiterLlm::ResponseUsage
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#input_tokens ⇒ Integer?
Returns the value of attribute input_tokens.
-
#output_tokens ⇒ Integer?
Returns the value of attribute output_tokens.
-
#total_tokens ⇒ Integer?
Returns the value of attribute total_tokens.
Instance Method Summary collapse
-
#initialize ⇒ ResponseUsage
constructor
A new instance of ResponseUsage.
Constructor Details
#initialize ⇒ ResponseUsage
Returns a new instance of ResponseUsage.
663 |
# File 'sig/types.rbs', line 663
def initialize: (?input_tokens: Integer, ?output_tokens: Integer, ?total_tokens: Integer) -> void
|
Instance Attribute Details
#input_tokens ⇒ Integer?
Returns the value of attribute input_tokens.
659 660 661 |
# File 'sig/types.rbs', line 659 def input_tokens @input_tokens end |
#output_tokens ⇒ Integer?
Returns the value of attribute output_tokens.
660 661 662 |
# File 'sig/types.rbs', line 660 def output_tokens @output_tokens end |
#total_tokens ⇒ Integer?
Returns the value of attribute total_tokens.
661 662 663 |
# File 'sig/types.rbs', line 661 def total_tokens @total_tokens end |