Be careful when you automate evals
You need to be careful when you automate evals. When automating prompts, you'll come across the same issues of alignment as you do in reinforcement learning.
Once you update the policy or prompt or weights according to the eval, you start to reinforce what you are measuring.
As an example, if you are scoring whether an agent correctly gives a refund and you do that maybe 1,000 times across all these scenarios, you're going to be rewarding all the instances when the agent refunded the money.
You might want to eval the entire trace and then update your agent from that, but your eval loop will just blindly optimize whatever you've been trying to measure.
I think it's important to have a human in the loop to make sure that things are aligned and going the right way.
It's also important to test the entire interaction, because every time you change an agent, it might change the entire conversation.
You can eval a single turn, but you want to make sure that the agent did the right thing overall. You want to take a step back and look at things at the task level.