Class: LlmCostTracker::Dashboard::TopModel
- Inherits:
-
Data
- Object
- Data
- LlmCostTracker::Dashboard::TopModel
- Defined in:
- app/services/llm_cost_tracker/dashboard/top_models.rb
Instance Attribute Summary collapse
-
#average_cost_per_call ⇒ Object
readonly
Returns the value of attribute average_cost_per_call.
-
#average_latency_ms ⇒ Object
readonly
Returns the value of attribute average_latency_ms.
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
-
#input_tokens ⇒ Object
readonly
Returns the value of attribute input_tokens.
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#output_tokens ⇒ Object
readonly
Returns the value of attribute output_tokens.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#total_cost ⇒ Object
readonly
Returns the value of attribute total_cost.
Instance Attribute Details
#average_cost_per_call ⇒ Object (readonly)
Returns the value of attribute average_cost_per_call
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def average_cost_per_call @average_cost_per_call end |
#average_latency_ms ⇒ Object (readonly)
Returns the value of attribute average_latency_ms
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def average_latency_ms @average_latency_ms end |
#calls ⇒ Object (readonly)
Returns the value of attribute calls
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def calls @calls end |
#input_tokens ⇒ Object (readonly)
Returns the value of attribute input_tokens
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def input_tokens @input_tokens end |
#model ⇒ Object (readonly)
Returns the value of attribute model
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def model @model end |
#output_tokens ⇒ Object (readonly)
Returns the value of attribute output_tokens
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def output_tokens @output_tokens end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def provider @provider end |
#total_cost ⇒ Object (readonly)
Returns the value of attribute total_cost
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/top_models.rb', line 5 def total_cost @total_cost end |