Class: Langfuse::Configuration
- Inherits:
-
Object
- Object
- Langfuse::Configuration
- Defined in:
- lib/langfuse.rb
Overview
Configuration class for Langfuse client settings
Instance Attribute Summary collapse
-
#auto_flush ⇒ Object
Returns the value of attribute auto_flush.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#flush_interval ⇒ Object
Returns the value of attribute flush_interval.
-
#host ⇒ Object
Returns the value of attribute host.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
-
#retries ⇒ Object
Returns the value of attribute retries.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
162 163 164 165 166 167 168 169 170 171 |
# File 'lib/langfuse.rb', line 162 def initialize @public_key = nil @secret_key = nil @host = 'https://us.cloud.langfuse.com' @debug = false @timeout = 30 @retries = 3 @flush_interval = 5 @auto_flush = true end |
Instance Attribute Details
#auto_flush ⇒ Object
Returns the value of attribute auto_flush.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def auto_flush @auto_flush end |
#debug ⇒ Object
Returns the value of attribute debug.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def debug @debug end |
#flush_interval ⇒ Object
Returns the value of attribute flush_interval.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def flush_interval @flush_interval end |
#host ⇒ Object
Returns the value of attribute host.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def host @host end |
#public_key ⇒ Object
Returns the value of attribute public_key.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def public_key @public_key end |
#retries ⇒ Object
Returns the value of attribute retries.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def retries @retries end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def secret_key @secret_key end |
#timeout ⇒ Object
Returns the value of attribute timeout.
160 161 162 |
# File 'lib/langfuse.rb', line 160 def timeout @timeout end |