reflection And Proposal Prompt
fun reflectionAndProposalPrompt(moduleName: String, currentInstruction: String, failures: List<GEPAReflectionProposer.FailureFeedback>): Prompt
Builds a reflection prompt for the GEPA reflection LM.
Given the current instruction, execution traces of failed items, and expected outputs, the reflection LM produces a structured analysis of what went wrong and proposes an improved instruction.