Class: Xberg::LlmBudgetConfig
- Inherits:
-
Object
- Object
- Xberg::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.
1482 |
# File 'sig/types.rbs', line 1482 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.
1480 1481 1482 |
# File 'sig/types.rbs', line 1480 def enforcement @enforcement end |
#global_limit ⇒ Float? (readonly)
Returns the value of attribute global_limit.
1478 1479 1480 |
# File 'sig/types.rbs', line 1478 def global_limit @global_limit end |
#model_limits ⇒ Hash[String, Float]? (readonly)
Returns the value of attribute model_limits.
1479 1480 1481 |
# File 'sig/types.rbs', line 1479 def model_limits @model_limits end |