Agent Co-Pilot: Wayfair's Gen-AI Assistant for Digital Sales Agents

Bradley West, Ashequl Qadir19 Jun 2024

Problem

Wayfair's digital sales agents chat with customers about products, returns, shipping and assembly. They often have to hunt down product details and policies. The team wanted live reply suggestions that agents can send as they are or edit. The hard part is telling whether the suggestions are good and whether they speed agents up.

Example from the article: in the interface, a suggested reply compliments the customer's choice of a product, and the agent can send or edit it.

Solution in brief

A prompt assembled from a task description, internal guidelines, current policies, product data and the whole conversation history goes to an LLM. Reply quality is tracked by four metrics, partly graded by a second "QA LLM". Product success is tracked at the level of the agent's work.

Questions this case answers
  • How to evaluate free-text suggestions of a language model that a human reviews and may edit before sending
  • How to measure whether an AI assistant for human operators saves their time without hurting the outcome of the conversation
  • How to measure the quality of replies that an LLM suggests to human chat agents?
  • How to find out why agents edit the suggested replies and what to fix first?

Tools and methods

  • Prompt assembly — task, guidelines, policies, product data and conversation history in one prompt
  • QA LLM — a second LLM that grades the suggestions
  • Human in the loop — the agent sends the reply or edits it first
  • Levenshtein distance — character edits between the suggestion and the sent message
Continue reading — it's free

Google or a one-time email code. No password.