Evaluator-Optimizer
In this article
- Build a generate, critique and revise loop around a written three-item rubric.
- Decide in code, before each round, whether the loop stops on a pass, on no gain or at the round cap.
- Spot a mistake that the critic and the writer share, and catch it with a rubric item that code checks.
- Say what each round costs and when a loop adds nothing.
- Terms defined here: evaluator-optimizer.
Overview
A support assistant writes a reply, and the reply goes out. If it promises a refund the company cannot give, the customer will hold you to it. A model can take a second look before sending, but once one model may send a draft back to another, two questions follow: what exactly is it checking, and what makes the back-and-forth end?
The example is made up: Brightline, a home-internet provider, has an assistant that drafts replies and can call three tools: lookup_order returns the dates of a customer's charges, issue_refund sends money back, and escalate_to_person hands the conversation to a person. A customer writes that this month's $35 plan fee was charged twice. By the end you can build a loop that writes, critiques and revises a reply against a short written checklist, stop it on a rule your code checks, spot the mistake both models miss, and say when the loop is not worth its cost.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Three roles and a rubric
- The stop rule
- Two runs of the same loop
- When the critic agrees with the mistake
- What a round costs
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions