Scaling AI Product Development with Rigorous Evaluation and Observability

notion · Tech · year n/a · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Evaluation and observability for large-scale AI product development

Notion AI needed to ship polished AI features for a 100M+ user workspace while switching models quickly, supporting multilingual workspaces, and avoiding regressions across meeting notes, search, and deep research features.

Constraints:

Architecture

Notion uses Brain Trust as an evaluation and observability layer around AI product development. Product teams, data specialists, and engineers build handcrafted datasets, product-specific scoring functions, LLM-as-judge prompts, and observability traces. Modular prompts and model assignments let the team test new foundation models quickly, route cheaper models to suitable high-frequency tasks, and keep multilingual/search behavior measurable.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Notion AI product surfaces"] --> B["Production observability traces"]
  B --> C["Brain Trust evaluation platform"]
  C --> D["Data specialist workflow"]
  D --> E["LLM judge prompts"]
  E --> C
  C --> F["Prompt and model router"]
  F --> G["Foundation and fine-tuned models"]
  F --> A
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Notion AI product surfaces Meeting notes, enterprise search, deep research, Q&A, and workspace-aware AI features. Prompt and model router, Production observability traces
Production observability traces Usage logs and traces that show how AI features behave for real users. Brain Trust evaluation platform, Data specialist workflow
Brain Trust evaluation platform Shared platform for datasets, scoring functions, eval runs, observability, and experiments. Data specialist workflow, LLM judge prompts, Prompt and model router
Data specialist workflow Hybrid PM/data analyst/annotator role that creates targeted datasets and product-specific evaluation rules. Brain Trust evaluation platform, LLM judge prompts
LLM judge prompts Specific judge prompts for individual traces or expected behaviors, especially for search and multilingual quality. Brain Trust evaluation platform, Prompt and model router
Prompt and model router Modular mapping from tasks and prompts to foundation or fine-tuned models. Foundation and fine-tuned models, Notion AI product surfaces
Foundation and fine-tuned models Provider models and Notion fine-tunes selected by task, cost, latency, and quality. Prompt and model router

Data flow

Production usage and dogfooding traces flow into Brain Trust, where data specialists create small targeted datasets and scoring functions. Product-specific LLM judges score outputs, CI and eval runs compare candidate prompts or models, and observability traces reveal production behavior. Model-selection decisions then map prompts to the model that best fits cost, latency, and reasoning needs.

3 supporting quotes
“we spend maybe 10% of our time prompting and 90% of our time looking at evals and iterating on our evals and looking at our usage and brain trust”transcript, stated
“data specialists and they were looking at this like dump in Google Sheets and trying to figure out how to parse the prompt”transcript, stated
“this can output a score that's far more reliable. Um, and from that score, we can quickly understand if a new model has any serious regressions.”transcript, stated

Why this architecture

Notion treats evaluation and observability as the core IP of AI product development because prompt strings alone do not guarantee consistent quality at product scale.

“all of the rigor and excellence that comes from building great AI products comes from observability and good evals”transcript, stated
“how we decide if those work well is just as critical and how we decide on model selection and all of that lives inside of brain trust.”transcript, stated

Models used: foundation model providers · Notion fine-tuned models · Nano · LLM-as-a-judge models

Scale

Alternatives considered (roads not taken)

Generic one-prompt LLM-as-judge evaluation

Rejected because: Notion finds per-element, product-specific judge prompts more insightful for expected format, language, and search behavior.

“One is LLM as a judge in which you have one prompt which judges everything in your data set.”transcript, stated
“There's another version of it um which is a little bit more laborious um from a creation standpoint, but I find to be far more insightful”transcript, stated

Static golden outputs for changing search results

Rejected because: The underlying index changes, so criteria-based eval prompts age better than fixed expected answers.

“because our index is always changing. um when we want to re-evaluate how search retrieval goes, we say the first result should be the most recent element”transcript, stated

Use advanced models for every prompt by default

Rejected because: Notion evaluates cheaper, faster models for high-frequency lower-reasoning cases before switching prompts.

“Nano came out. Um, nano is a fairly effective model that's very fast, maybe lower reasoning, and very cheap.”transcript, stated

Patterns

eval-driven-development (evaluation)

Notion centers AI product development around eval datasets, scoring functions, CI-style eval runs, and model regression checks.

“all of the rigor and excellence that comes from building great AI products comes from observability and good evals”transcript, stated

observability-tracing (operations)

Usage and traces in Brain Trust are used to understand production AI behavior and guide iteration.

“looking at our usage and brain trust and that I believe is the right balance of work”transcript, stated

llm-as-judge (evaluation)

Notion uses multiple LLM judges and targeted judge prompts instead of a single generic evaluator.

“we have multiple judges each responsible for a smaller thing?”transcript, stated

model-routing (model-ops)

Prompts are modularly assigned to different models after eval runs identify which tasks can move to cheaper or faster models.

“different prompts for different tasks and different models for different prompts”transcript, stated

data-quality-loop (data)

Data specialists use logs and prototypes to create handcrafted datasets and improve eval structure.

“creating just from logs and using a product and prototype handcrafted data sets.”transcript, stated

Tradeoffs

Evaluation strategy

Chose laborious product-specific judge prompts over one generic LLM-as-judge prompt.

Rationale: Specific prompts better capture expected language, formatting, citation, and search behavior.

“a little bit more laborious um from a creation standpoint, but I find to be far more insightful”transcript, stated

Model rollout strategy

Chose eval-gated rapid model switching over manual slow migration to new models.

Rationale: The team can detect regressions and move suitable prompts to new models quickly.

“given like our modular infrastructure of different prompts for different tasks and different models for different prompts, we can really quickly say, okay, Nano came out.”transcript, stated

Gotchas (what bit them)

AI demos can work once but fail for real users.

Root cause: Prompt success without observability and evals does not show consistency across user scenarios.

Resolution: Spend most development effort on evals, usage analysis, and observability.

“not just shipping something that worked well in a demo with your VP or that you got working, you know, um on the cow train to work”transcript, stated

Human evaluator workflows can collapse under raw trace volume.

Root cause: Data specialists were trying to inspect prompt dumps and parse data in spreadsheets.

Resolution: Move data specialists into Brain Trust workflows with structured datasets and scoring functions.

“our human evaluators were just exceptionally overwhelmed like how do they look at I think we were like they were working in Google sheets.”transcript, stated

Multilingual quality is hard when the engineering team is English-speaking.

Root cause: A large share of enterprise users use non-English workspaces.

Resolution: Use evaluation metrics that explicitly understand the multilingual experience.

“60% of notion enterprise users aren't speaking English. I will tell you a 100% of notion AI engineers are speaking English.”transcript, stated

Evaluation

Notion uses Brain Trust datasets, product-specific LLM judges, scoring functions, CI-style eval runs, trace observability, and human data specialists.

Metrics: model regression scores · search result correctness · multilingual quality · tool-call appropriateness · production usage and traces

“scoring functions should come after you've looked at the data for a long time.”transcript, stated
“we can quickly understand if a new model has any serious regressions.”transcript, stated

Outcomes

The system supports a connected workspace with over 100 million users and AI surfaces including meeting notes, enterprise search, and deep research.

“Anytime a new model is released within um, usually less than a day, we're able to give that to all of our users in production.”transcript, stated
“I don't think that we could exist without brain trust or a similar type of software today. It is critical to our iteration flow”transcript, stated