reflector Prompt
fun reflectorPrompt(groundTruthLabel: String, usedPlaybook: ACEPlaybook, isSolved: Boolean, trajectory: Prompt): Prompt
Builds the reflector prompt that diagnoses a single agent trajectory into ACEOptimizer.TrajectoryInsights.
Parameters
ground Truth Label
Expected answer for the task, used to identify the gap.
used Playbook
Playbook in effect during the run, rendered into the prompt so the reflector can tag its bullets.
is Solved
Whether the trajectory produced a correct result.
trajectory
The captured execution trajectory to analyze.