Problem
Slack's machine learning team ships two generative features: summaries of channels, periods and threads, and natural-language search that answers a question typed in the search bar. Quality is hard to control: users disagree on what a good summary is (two bullets, or enough detail to skip the messages). Checking ten hand-picked examples does not show whether a prompt, model or pre-processing change helps.
The same problem hits any team that ships LLM text features (summaries, RAG answers) without a reference answer: changes to the prompt, model or pre-processing are made blind.
Example from the article: in a question-answering feature the answer may be right but cite the wrong message, which sends the user down the wrong path.
Solution in brief
Split "quality" into small checks that run automatically on every output. Use them at three stages of growing realism (golden set, validation set, A/B test); a change moves on only if its metrics hold.
Questions this case answers
- How to evaluate subjective free-text model outputs automatically when no single reference answer exists and manual review does not scale
- How to gate changes to a generative feature through successive evaluation stages so weak ideas fail early and cheaply
- How to measure the quality of LLM-generated summaries and answers when users disagree on what a good output is?
- How to detect hallucinations and wrong citations automatically on every LLM response?
Tools and methods
- Detectors β LLM-as-a-judge on a sample of outputs, and natural language inference (NLI) models for higher throughput.
- Extractive summarization β a pre-processing change that Slack evaluated with this framework; it is not part of the framework itself.
Google or a one-time email code. No password.