Class: LlmLogs::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_instrumentObject

Returns the value of attribute auto_instrument.



3
4
5
# File 'lib/llm_logs/configuration.rb', line 3

def auto_instrument
  @auto_instrument
end

#enabledObject

Returns the value of attribute enabled.



3
4
5
# File 'lib/llm_logs/configuration.rb', line 3

def enabled
  @enabled
end

#prompt_subfoldersObject

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_pathObject

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_daysObject

Returns the value of attribute retention_days.



3
4
5
# File 'lib/llm_logs/configuration.rb', line 3

def retention_days
  @retention_days
end