Class: Legion::Extensions::Agentic::Affect::Empathy::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Affect::Empathy::Client
- Includes:
- Runners::Empathy, Helpers::Lex
- Defined in:
- lib/legion/extensions/agentic/affect/empathy/client.rb
Instance Attribute Summary collapse
-
#model_store ⇒ Object
readonly
Returns the value of attribute model_store.
Instance Method Summary collapse
-
#initialize(model_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Empathy
#decay_models, #empathy_stats, #observe_agent, #observe_human_observations, #perspective_take, #predict_reaction, #record_outcome, #social_landscape
Constructor Details
#initialize(model_store: nil) ⇒ Client
Returns a new instance of Client.
14 15 16 |
# File 'lib/legion/extensions/agentic/affect/empathy/client.rb', line 14 def initialize(model_store: nil, **) @model_store = model_store || Helpers::ModelStore.new end |
Instance Attribute Details
#model_store ⇒ Object (readonly)
Returns the value of attribute model_store.
12 13 14 |
# File 'lib/legion/extensions/agentic/affect/empathy/client.rb', line 12 def model_store @model_store end |