Class: Xberg::LlmConfig
- Inherits:
-
Object
- Object
- Xberg::LlmConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#api_key ⇒ String?
Returns the value of attribute api_key.
-
#base_url ⇒ String?
Returns the value of attribute base_url.
-
#max_retries ⇒ Integer?
Returns the value of attribute max_retries.
-
#max_tokens ⇒ Integer?
Returns the value of attribute max_tokens.
-
#model ⇒ String?
Returns the value of attribute model.
-
#temperature ⇒ Float?
Returns the value of attribute temperature.
-
#timeout_secs ⇒ Integer?
Returns the value of attribute timeout_secs.
Instance Method Summary collapse
-
#initialize ⇒ LlmConfig
constructor
A new instance of LlmConfig.
Constructor Details
#initialize ⇒ LlmConfig
Returns a new instance of LlmConfig.
285 |
# File 'sig/types.rbs', line 285
def initialize: (?model: String, ?api_key: String, ?base_url: String, ?timeout_secs: Integer, ?max_retries: Integer, ?temperature: Float, ?max_tokens: Integer) -> void
|
Instance Attribute Details
#api_key ⇒ String?
Returns the value of attribute api_key.
278 279 280 |
# File 'sig/types.rbs', line 278 def api_key @api_key end |
#base_url ⇒ String?
Returns the value of attribute base_url.
279 280 281 |
# File 'sig/types.rbs', line 279 def base_url @base_url end |
#max_retries ⇒ Integer?
Returns the value of attribute max_retries.
281 282 283 |
# File 'sig/types.rbs', line 281 def max_retries @max_retries end |
#max_tokens ⇒ Integer?
Returns the value of attribute max_tokens.
283 284 285 |
# File 'sig/types.rbs', line 283 def max_tokens @max_tokens end |
#model ⇒ String?
Returns the value of attribute model.
277 278 279 |
# File 'sig/types.rbs', line 277 def model @model end |
#temperature ⇒ Float?
Returns the value of attribute temperature.
282 283 284 |
# File 'sig/types.rbs', line 282 def temperature @temperature end |
#timeout_secs ⇒ Integer?
Returns the value of attribute timeout_secs.
280 281 282 |
# File 'sig/types.rbs', line 280 def timeout_secs @timeout_secs end |