Class: Legion::Extensions::Agentic::Affect::Regulation::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Affect::Regulation::Client
- Includes:
- Runners::EmotionalRegulation, Helpers::Lex
- Defined in:
- lib/legion/extensions/agentic/affect/regulation/client.rb
Instance Attribute Summary collapse
-
#regulation_model ⇒ Object
readonly
Returns the value of attribute regulation_model.
Instance Method Summary collapse
-
#initialize(regulation_model: nil) ⇒ Client
constructor
A new instance of Client.
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_model ⇒ Object (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 |