Class: Legion::Extensions::Agentic::Social::TheoryOfMind::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Social::TheoryOfMind::Client
- Includes:
- Runners::TheoryOfMind
- Defined in:
- lib/legion/extensions/agentic/social/theory_of_mind/client.rb
Instance Attribute Summary collapse
-
#tracker ⇒ Object
readonly
Returns the value of attribute tracker.
Instance Method Summary collapse
-
#initialize(tracker: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::TheoryOfMind
#check_false_beliefs, #compare_agents, #mental_state, #observe_agent, #perspective_take, #predict_behavior, #record_outcome, #tom_stats, #update_theory_of_mind
Constructor Details
#initialize(tracker: nil) ⇒ Client
Returns a new instance of Client.
18 19 20 |
# File 'lib/legion/extensions/agentic/social/theory_of_mind/client.rb', line 18 def initialize(tracker: nil, **) @tracker = tracker || Helpers::MentalStateTracker.new end |
Instance Attribute Details
#tracker ⇒ Object (readonly)
Returns the value of attribute tracker.
16 17 18 |
# File 'lib/legion/extensions/agentic/social/theory_of_mind/client.rb', line 16 def tracker @tracker end |