Class: Soka::Configuration::AIConfig
- Inherits:
-
Object
- Object
- Soka::Configuration::AIConfig
- Defined in:
- lib/soka/configuration.rb
Overview
AI provider configuration
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#model ⇒ Object
Returns the value of attribute model.
-
#provider ⇒ Object
Returns the value of attribute provider.
Instance Method Summary collapse
-
#initialize ⇒ AIConfig
constructor
A new instance of AIConfig.
Constructor Details
#initialize ⇒ AIConfig
Returns a new instance of AIConfig.
10 11 12 13 |
# File 'lib/soka/configuration.rb', line 10 def initialize @provider = :gemini @model = 'gemini-2.5-flash-lite' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/soka/configuration.rb', line 8 def api_key @api_key end |
#model ⇒ Object
Returns the value of attribute model.
8 9 10 |
# File 'lib/soka/configuration.rb', line 8 def model @model end |
#provider ⇒ Object
Returns the value of attribute provider.
8 9 10 |
# File 'lib/soka/configuration.rb', line 8 def provider @provider end |