Class: Legion::Extensions::Agentic::Affect::Regulation::Client

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runners::EmotionalRegulation

#emotional_regulation_stats, #recommend_strategy, #regulate_emotion, #regulation_history, #regulation_profile, #update_emotional_regulation

Constructor Details

#initialize(regulation_model: nil) ⇒ Client

Returns a new instance of Client.



18
19
20
# File 'lib/legion/extensions/agentic/affect/regulation/client.rb', line 18

def initialize(regulation_model: nil, **)
  @regulation_model = regulation_model || Helpers::RegulationModel.new
end

Instance Attribute Details

#regulation_modelObject (readonly)

Returns the value of attribute regulation_model.



16
17
18
# File 'lib/legion/extensions/agentic/affect/regulation/client.rb', line 16

def regulation_model
  @regulation_model
end