Class: LlmLogs::Configuration
- Inherits:
-
Object
- Object
- LlmLogs::Configuration
- Defined in:
- lib/llm_logs/configuration.rb
Defined Under Namespace
Classes: BedrockBatch
Instance Attribute Summary collapse
-
#auto_instrument ⇒ Object
Returns the value of attribute auto_instrument.
-
#batch_enabled ⇒ Object
Returns the value of attribute batch_enabled.
-
#batch_provider ⇒ Object
Returns the value of attribute batch_provider.
-
#bedrock_batch ⇒ Object
Returns the value of attribute bedrock_batch.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#page_size ⇒ Object
Returns the value of attribute page_size.
-
#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.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/llm_logs/configuration.rb', line 8 def initialize @enabled = true @auto_instrument = true @retention_days = 30 @prompts_source_path = nil @prompt_subfolders = %w[skills fragments templates] @batch_enabled = true @batch_provider = :openai_responses @page_size = 50 @bedrock_batch = nil end |
Instance Attribute Details
#auto_instrument ⇒ Object
Returns the value of attribute auto_instrument.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def auto_instrument @auto_instrument end |
#batch_enabled ⇒ Object
Returns the value of attribute batch_enabled.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def batch_enabled @batch_enabled end |
#batch_provider ⇒ Object
Returns the value of attribute batch_provider.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def batch_provider @batch_provider end |
#bedrock_batch ⇒ Object
Returns the value of attribute bedrock_batch.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def bedrock_batch @bedrock_batch end |
#enabled ⇒ Object
Returns the value of attribute enabled.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def enabled @enabled end |
#page_size ⇒ Object
Returns the value of attribute page_size.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def page_size @page_size end |
#prompt_subfolders ⇒ Object
Returns the value of attribute prompt_subfolders.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def prompt_subfolders @prompt_subfolders end |
#prompts_source_path ⇒ Object
Returns the value of attribute prompts_source_path.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def prompts_source_path @prompts_source_path end |
#retention_days ⇒ Object
Returns the value of attribute retention_days.
5 6 7 |
# File 'lib/llm_logs/configuration.rb', line 5 def retention_days @retention_days end |