Class: LiterLlm::LlmBudgetConfig
- Inherits:
-
Object
- Object
- LiterLlm::LlmBudgetConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#enforcement ⇒ String?
readonly
Returns the value of attribute enforcement.
-
#global_limit ⇒ Float?
readonly
Returns the value of attribute global_limit.
-
#model_limits ⇒ Hash[String, Float]?
readonly
Returns the value of attribute model_limits.
Instance Method Summary collapse
-
#initialize ⇒ LlmBudgetConfig
constructor
A new instance of LlmBudgetConfig.
Constructor Details
#initialize ⇒ LlmBudgetConfig
Returns a new instance of LlmBudgetConfig.
719 |
# File 'sig/types.rbs', line 719
def initialize: (?global_limit: Float, ?model_limits: Hash[String, Float], ?enforcement: String) -> void
|
Instance Attribute Details
#enforcement ⇒ String? (readonly)
Returns the value of attribute enforcement.
717 718 719 |
# File 'sig/types.rbs', line 717 def enforcement @enforcement end |
#global_limit ⇒ Float? (readonly)
Returns the value of attribute global_limit.
715 716 717 |
# File 'sig/types.rbs', line 715 def global_limit @global_limit end |
#model_limits ⇒ Hash[String, Float]? (readonly)
Returns the value of attribute model_limits.
716 717 718 |
# File 'sig/types.rbs', line 716 def model_limits @model_limits end |