Class: Legion::Extensions::Agentic::Learning::Anchoring::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Learning::Anchoring::Client
- Includes:
- Runners::Anchoring
- Defined in:
- lib/legion/extensions/agentic/learning/anchoring/client.rb
Instance Attribute Summary collapse
-
#anchor_store ⇒ Object
readonly
Returns the value of attribute anchor_store.
Instance Method Summary collapse
-
#initialize(anchor_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Anchoring
#anchoring_stats, #de_anchor, #domain_anchors, #evaluate_estimate, #record_anchor, #reference_frame, #shift_reference, #update_anchoring
Constructor Details
#initialize(anchor_store: nil) ⇒ Client
Returns a new instance of Client.
18 19 20 |
# File 'lib/legion/extensions/agentic/learning/anchoring/client.rb', line 18 def initialize(anchor_store: nil, **) @anchor_store = anchor_store || Helpers::AnchorStore.new end |
Instance Attribute Details
#anchor_store ⇒ Object (readonly)
Returns the value of attribute anchor_store.
16 17 18 |
# File 'lib/legion/extensions/agentic/learning/anchoring/client.rb', line 16 def anchor_store @anchor_store end |