Class: Sage::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



19
20
21
22
23
# File 'lib/sage.rb', line 19

def initialize
  @provider = :anthropic
  @anthropic_model = "claude-3-opus-20240229"
  @open_ai_model = "gpt-4"
end

Instance Attribute Details

#anthropic_api_keyObject

Returns the value of attribute anthropic_api_key.



17
18
19
# File 'lib/sage.rb', line 17

def anthropic_api_key
  @anthropic_api_key
end

#anthropic_modelObject

Returns the value of attribute anthropic_model.



17
18
19
# File 'lib/sage.rb', line 17

def anthropic_model
  @anthropic_model
end

#open_ai_keyObject

Returns the value of attribute open_ai_key.



17
18
19
# File 'lib/sage.rb', line 17

def open_ai_key
  @open_ai_key
end

#open_ai_modelObject

Returns the value of attribute open_ai_model.



17
18
19
# File 'lib/sage.rb', line 17

def open_ai_model
  @open_ai_model
end

#providerObject

Returns the value of attribute provider.



17
18
19
# File 'lib/sage.rb', line 17

def provider
  @provider
end