Class: Legion::Extensions::Agentic::Affect::Empathy::Client

Inherits:
Object
  • Object
show all
Includes:
Runners::Empathy, Helpers::Lex
Defined in:
lib/legion/extensions/agentic/affect/empathy/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_storeObject (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