Class: LlmCostTracker::Dashboard::TagBreakdownResult
- Inherits:
-
Data
- Object
- Data
- LlmCostTracker::Dashboard::TagBreakdownResult
- Defined in:
- app/services/llm_cost_tracker/dashboard/tag_breakdown.rb
Instance Attribute Summary collapse
-
#distinct_values ⇒ Object
readonly
Returns the value of attribute distinct_values.
-
#limit ⇒ Object
readonly
Returns the value of attribute limit.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
-
#tagged_calls ⇒ Object
readonly
Returns the value of attribute tagged_calls.
-
#total_calls ⇒ Object
readonly
Returns the value of attribute total_calls.
Instance Method Summary collapse
Instance Attribute Details
#distinct_values ⇒ Object (readonly)
Returns the value of attribute distinct_values
12 13 14 |
# File 'app/services/llm_cost_tracker/dashboard/tag_breakdown.rb', line 12 def distinct_values @distinct_values end |
#limit ⇒ Object (readonly)
Returns the value of attribute limit
12 13 14 |
# File 'app/services/llm_cost_tracker/dashboard/tag_breakdown.rb', line 12 def limit @limit end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows
12 13 14 |
# File 'app/services/llm_cost_tracker/dashboard/tag_breakdown.rb', line 12 def rows @rows end |
#tagged_calls ⇒ Object (readonly)
Returns the value of attribute tagged_calls
12 13 14 |
# File 'app/services/llm_cost_tracker/dashboard/tag_breakdown.rb', line 12 def tagged_calls @tagged_calls end |
#total_calls ⇒ Object (readonly)
Returns the value of attribute total_calls
12 13 14 |
# File 'app/services/llm_cost_tracker/dashboard/tag_breakdown.rb', line 12 def total_calls @total_calls end |
Instance Method Details
#limited? ⇒ Boolean
19 |
# File 'app/services/llm_cost_tracker/dashboard/tag_breakdown.rb', line 19 def limited? = distinct_values > rows.size |