AI Evals for Meta Business Assistant — James Hawkins
← All work

AI Evals for Meta Business Assistant — Recreation

When one word means two things: fixing an AI assistant's language at the source

Meta advertisers often have to sift through complex errors and notifications to work out what's wrong and how to fix it. I partnered with the team behind Meta's AI assistant, which was built to help. I evaluated its responses and found a pattern: many of its failures started in the content it drew from. The original material is confidential, so the example below is a recreation in travel.

The problem

A traveler books a room through an AI travel assistant and asks about the status. The assistant replies:

"Your room request has been confirmed. You will receive an email when your request is confirmed."

This message tells the traveler two contradictory things: their room request is confirmed, and that confirmation is still pending. The traveler can't tell if they got the room, if they need to wait for an email, or if they should keep looking for more options.

The diagnosis

The assistant drew on two guidelines, written for different purposes:

Request handling guidelines

"Provide explicit confirmation when a request from the end user is received."

Booking status definitions

"A hotel booking is considered complete once the property accepts it and a confirmation email is sent to the end user."

The assistant followed both guidelines. Each makes sense on its own, but together they use "confirmation" to mean two different things: that we received the request, and that the hotel accepted it.

The fix

I left the assistant alone and rewrote the guidelines so "confirmed" meant one thing. I also added a rule: every confirmation names who confirmed it.

Request handling guidelines

"When a request is received, tell the end user it has been received. Do not use 'confirmed.'"

Booking status definitions

"A booking is confirmed only after the property accepts it. Always name who confirmed ('The Harbor Inn confirmed your room'). A confirmation email is sent after acceptance."

The assistant's response now reads:

Before

"Your room request has been confirmed. You will receive an email when your request is confirmed."

After

"Your room request has been received. You'll get an email when The Harbor Inn confirms it."

A clear definition isn't enough on its own. With the assistant, a booking platform, and the hotel all in the chain, "confirmed" could come from any of them, and only the hotel can guarantee a room. Naming who confirmed lets the traveler see which one they're hearing from.

How I judged it

At Meta, I graded the assistant's responses against four criteria I developed with the team's content designer: accuracy, clarity, tone, and simplicity. Every criterion scores in the same direction, so a high score is always good. (We renamed "complexity" to "simplicity" for that reason.) The scores below are illustrative, using a rubric like the one I used there.

Original response Revised response
Accuracy FailIt says "confirmed" before the hotel has accepted the request. Pass
Clarity 2/10. The two sentences contradict each other. 10/10. It says what has happened and who acts next.
Tone Pass Pass
Simplicity Pass Pass

Accuracy is a gate, not a score. A response that states something false fails no matter how well it does elsewhere. The original is polite and short, so a review that looked only at tone and simplicity would pass it. Only the accuracy gate and the clarity check catch it.

What I'd carry forward

"The fix didn't add certainty. It made the status unmistakable."

Travel is full of uncertain outcomes, and an assistant should say so. But the status of this request is known: it's pending. The original message turned a known status into a guess. The fix didn't add certainty. It made the status unmistakable.

In this case, the problem started in the content the assistant drew from, not in the model. That's why I look upstream first: shared vocabulary, definitions, and the rules for when each term applies. Even unambiguous words fail when their scope is unstated. A bare "price" leaves open whether it's per night or per stay, with or without taxes.

For an agent that books travel, saying "confirmed" too early is a trust failure, and a good place to prevent it is the language the agent is built on.