Class: RailsOrchestrator::Configuration
- Inherits:
-
Object
- Object
- RailsOrchestrator::Configuration
- Defined in:
- lib/rails_orchestrator/configuration.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#model ⇒ Object
Returns the value of attribute model.
-
#request_timeout ⇒ Object
Returns the value of attribute request_timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/rails_orchestrator/configuration.rb', line 7 def initialize @base_url = "http://localhost:11434" @model = "llama3" @request_timeout = 120 end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
5 6 7 |
# File 'lib/rails_orchestrator/configuration.rb', line 5 def base_url @base_url end |
#model ⇒ Object
Returns the value of attribute model.
5 6 7 |
# File 'lib/rails_orchestrator/configuration.rb', line 5 def model @model end |
#request_timeout ⇒ Object
Returns the value of attribute request_timeout.
5 6 7 |
# File 'lib/rails_orchestrator/configuration.rb', line 5 def request_timeout @request_timeout end |