Class: LlmOrchestrator::ClaudeConfig
- Inherits:
-
Object
- Object
- LlmOrchestrator::ClaudeConfig
- Defined in:
- lib/llm_orchestrator.rb
Overview
Configuration class for Claude-specific settings
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#max_tokens ⇒ Object
Returns the value of attribute max_tokens.
-
#model ⇒ Object
Returns the value of attribute model.
-
#temperature ⇒ Object
Returns the value of attribute temperature.
Instance Method Summary collapse
-
#initialize ⇒ ClaudeConfig
constructor
A new instance of ClaudeConfig.
Constructor Details
#initialize ⇒ ClaudeConfig
Returns a new instance of ClaudeConfig.
59 60 61 62 63 64 |
# File 'lib/llm_orchestrator.rb', line 59 def initialize @api_key = nil @model = "claude-3-opus-20240229" @temperature = 0.7 @max_tokens = 1000 end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
57 58 59 |
# File 'lib/llm_orchestrator.rb', line 57 def api_key @api_key end |
#max_tokens ⇒ Object
Returns the value of attribute max_tokens.
57 58 59 |
# File 'lib/llm_orchestrator.rb', line 57 def max_tokens @max_tokens end |
#model ⇒ Object
Returns the value of attribute model.
57 58 59 |
# File 'lib/llm_orchestrator.rb', line 57 def model @model end |
#temperature ⇒ Object
Returns the value of attribute temperature.
57 58 59 |
# File 'lib/llm_orchestrator.rb', line 57 def temperature @temperature end |