Class: Soka::Configuration::AIConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/soka/configuration.rb

Overview

AI provider configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAIConfig

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_keyObject

Returns the value of attribute api_key.



8
9
10
# File 'lib/soka/configuration.rb', line 8

def api_key
  @api_key
end

#modelObject

Returns the value of attribute model.



8
9
10
# File 'lib/soka/configuration.rb', line 8

def model
  @model
end

#providerObject

Returns the value of attribute provider.



8
9
10
# File 'lib/soka/configuration.rb', line 8

def provider
  @provider
end