Class: Regent::Engine::Base
- Inherits:
-
Object
- Object
- Regent::Engine::Base
- Defined in:
- lib/regent/engine/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#llm ⇒ Object
readonly
Returns the value of attribute llm.
-
#max_iterations ⇒ Object
readonly
Returns the value of attribute max_iterations.
-
#session ⇒ Object
readonly
Returns the value of attribute session.
-
#toolchain ⇒ Object
readonly
Returns the value of attribute toolchain.
Instance Method Summary collapse
-
#initialize(context, llm, toolchain, session, max_iterations) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(context, llm, toolchain, session, max_iterations) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 12 |
# File 'lib/regent/engine/base.rb', line 6 def initialize(context, llm, toolchain, session, max_iterations) @context = context @llm = llm @toolchain = toolchain @session = session @max_iterations = max_iterations end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
14 15 16 |
# File 'lib/regent/engine/base.rb', line 14 def context @context end |
#llm ⇒ Object (readonly)
Returns the value of attribute llm.
14 15 16 |
# File 'lib/regent/engine/base.rb', line 14 def llm @llm end |
#max_iterations ⇒ Object (readonly)
Returns the value of attribute max_iterations.
14 15 16 |
# File 'lib/regent/engine/base.rb', line 14 def max_iterations @max_iterations end |
#session ⇒ Object (readonly)
Returns the value of attribute session.
14 15 16 |
# File 'lib/regent/engine/base.rb', line 14 def session @session end |
#toolchain ⇒ Object (readonly)
Returns the value of attribute toolchain.
14 15 16 |
# File 'lib/regent/engine/base.rb', line 14 def toolchain @toolchain end |