Module: GEPA::Proposer::ReflectiveMutation

Extended by:
T::Sig
Defined in:
lib/gepa/proposer/reflective_mutation/base.rb

Defined Under Namespace

Classes: Signature

Constant Summary collapse

CandidateSelector =
T.type_alias { T.proc.params(state: GEPA::Core::State).returns(Integer) }
ComponentSelector =
T.type_alias do
  T.proc.params(
    state: GEPA::Core::State,
    trajectories: T::Array[T.untyped],
    subsample_scores: T::Array[Float],
    candidate_idx: Integer,
    candidate: T::Hash[String, String]
  ).returns(T::Array[String])
end
BatchSampler =
T.type_alias do
  T.proc.params(trainset_size: Integer, iteration: Integer).returns(T::Array[Integer])
end
LanguageModel =
T.type_alias { T.proc.params(prompt: String).returns(String) }