Class: Anthemic::Configuration

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

Overview

Configuration class for global settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



35
36
37
38
39
# File 'lib/anthemic.rb', line 35

def initialize
  @api_keys = {}
  @default_provider = :openai
  @default_memory_type = :simple
end

Instance Attribute Details

#api_keysObject

Returns the value of attribute api_keys.



33
34
35
# File 'lib/anthemic.rb', line 33

def api_keys
  @api_keys
end

#default_memory_typeObject

Returns the value of attribute default_memory_type.



33
34
35
# File 'lib/anthemic.rb', line 33

def default_memory_type
  @default_memory_type
end

#default_providerObject

Returns the value of attribute default_provider.



33
34
35
# File 'lib/anthemic.rb', line 33

def default_provider
  @default_provider
end