Class: Anthemic::Configuration
- Inherits:
-
Object
- Object
- Anthemic::Configuration
- Defined in:
- lib/anthemic.rb
Overview
Configuration class for global settings
Instance Attribute Summary collapse
-
#api_keys ⇒ Object
Returns the value of attribute api_keys.
-
#default_memory_type ⇒ Object
Returns the value of attribute default_memory_type.
-
#default_provider ⇒ Object
Returns the value of attribute default_provider.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_keys ⇒ Object
Returns the value of attribute api_keys.
33 34 35 |
# File 'lib/anthemic.rb', line 33 def api_keys @api_keys end |
#default_memory_type ⇒ Object
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_provider ⇒ Object
Returns the value of attribute default_provider.
33 34 35 |
# File 'lib/anthemic.rb', line 33 def default_provider @default_provider end |