ACEPrompts
object ACEPrompts
Prompt builders for the ACE reflector and curator stages, and for injecting the playbook at run time.
Functions
Link copied to clipboard
Builds the system-prompt fragment that injects playbook into a running agent, or an empty string if the playbook has no content.
Link copied to clipboard
Link copied to clipboard
fun reflectorPrompt(groundTruthLabel: String, usedPlaybook: ACEPlaybook, isSolved: Boolean, trajectory: Prompt): Prompt
Builds the reflector prompt that diagnoses a single agent trajectory into ACEOptimizer.TrajectoryInsights.