Class: Legion::Extensions::Agentic::Learning::Curiosity::Client

Inherits:
Object
  • Object
show all
Includes:
Runners::Curiosity
Defined in:
lib/legion/extensions/agentic/learning/curiosity/client.rb

Overview

Standalone client for curiosity operations without the full framework.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runners::Curiosity

#curiosity_intensity, #decay_wonders, #detect_gaps, #explore_wonder, #form_agenda, #generate_wonder, #resolve_wonder, #top_wonders, #wonder_stats

Constructor Details

#initialize(store: nil) ⇒ Client

Returns a new instance of Client.



20
21
22
# File 'lib/legion/extensions/agentic/learning/curiosity/client.rb', line 20

def initialize(store: nil, **)
  @wonder_store = store || Helpers::WonderStore.new
end

Instance Attribute Details

#wonder_storeObject (readonly)

Returns the value of attribute wonder_store.



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

def wonder_store
  @wonder_store
end