Class: GEPA::Proposer::ReflectiveMutation::Signature

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/gepa/proposer/reflective_mutation/base.rb

Class Method Summary collapse

Class Method Details

.run(lm, input_dict) ⇒ Object



40
41
42
43
44
# File 'lib/gepa/proposer/reflective_mutation/base.rb', line 40

def self.run(lm, input_dict)
  full_prompt = prompt_renderer.call(input_dict)
  output = lm.call(full_prompt).strip
  output_extractor.call(output)
end