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.
457 |
# File 'sig/types.rbs', line 457
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.
455 456 457 |
# File 'sig/types.rbs', line 455 def enforcement @enforcement end |
#global_limit ⇒ Float? (readonly)
Returns the value of attribute global_limit.
453 454 455 |
# File 'sig/types.rbs', line 453 def global_limit @global_limit end |
#model_limits ⇒ Hash[String, Float]? (readonly)
Returns the value of attribute model_limits.
454 455 456 |
# File 'sig/types.rbs', line 454 def model_limits @model_limits end |