Class: RCrewAI::Events::Usage
- Inherits:
-
Struct
- Object
- Struct
- RCrewAI::Events::Usage
- Defined in:
- lib/rcrewai/events.rb
Instance Attribute Summary collapse
-
#completion_tokens ⇒ Object
Returns the value of attribute completion_tokens.
-
#cost_usd ⇒ Object
Returns the value of attribute cost_usd.
-
#prompt_tokens ⇒ Object
Returns the value of attribute prompt_tokens.
-
#total_tokens ⇒ Object
Returns the value of attribute total_tokens.
Instance Attribute Details
#completion_tokens ⇒ Object
Returns the value of attribute completion_tokens
14 15 16 |
# File 'lib/rcrewai/events.rb', line 14 def completion_tokens @completion_tokens end |
#cost_usd ⇒ Object
Returns the value of attribute cost_usd
14 15 16 |
# File 'lib/rcrewai/events.rb', line 14 def cost_usd @cost_usd end |
#prompt_tokens ⇒ Object
Returns the value of attribute prompt_tokens
14 15 16 |
# File 'lib/rcrewai/events.rb', line 14 def prompt_tokens @prompt_tokens end |
#total_tokens ⇒ Object
Returns the value of attribute total_tokens
14 15 16 |
# File 'lib/rcrewai/events.rb', line 14 def total_tokens @total_tokens end |