Class: LlmLogs::Configuration
- Inherits:
-
Object
- Object
- LlmLogs::Configuration
- Defined in:
- lib/llm_logs/configuration.rb
Instance Attribute Summary collapse
-
#auto_instrument ⇒ Object
Returns the value of attribute auto_instrument.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#prompt_subfolders ⇒ Object
Returns the value of attribute prompt_subfolders.
-
#prompts_source_path ⇒ Object
Returns the value of attribute prompts_source_path.
-
#retention_days ⇒ Object
Returns the value of attribute retention_days.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 |
# File 'lib/llm_logs/configuration.rb', line 5 def initialize @enabled = true @auto_instrument = true @retention_days = 30 @prompts_source_path = nil @prompt_subfolders = %w[skills fragments templates] end |
Instance Attribute Details
#auto_instrument ⇒ Object
Returns the value of attribute auto_instrument.
3 4 5 |
# File 'lib/llm_logs/configuration.rb', line 3 def auto_instrument @auto_instrument end |
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/llm_logs/configuration.rb', line 3 def enabled @enabled end |
#prompt_subfolders ⇒ Object
Returns the value of attribute prompt_subfolders.
3 4 5 |
# File 'lib/llm_logs/configuration.rb', line 3 def prompt_subfolders @prompt_subfolders end |
#prompts_source_path ⇒ Object
Returns the value of attribute prompts_source_path.
3 4 5 |
# File 'lib/llm_logs/configuration.rb', line 3 def prompts_source_path @prompts_source_path end |
#retention_days ⇒ Object
Returns the value of attribute retention_days.
3 4 5 |
# File 'lib/llm_logs/configuration.rb', line 3 def retention_days @retention_days end |