WhoBuilt

Make your LLM app a Domain Expert: How to Build an Expert System

Jul 28, 2025· 19 min· 93K views·Watch on YouTube

Speaker

Christopher Lovejoy, a medical doctor turned AI engineer at Anterior, explains how to build domain-specific LLM applications at an AI Engineer talk.

The last-mile problem

Lovejoy argues that vertical AI performance depends more on how a system captures industry and customer context than on model sophistication alone. He illustrates the challenge with a knee arthroscopy review: deciding whether six weeks of conservative therapy failed requires nuanced judgments about treatment, outcomes, and what the record documents.

Measure the failures that matter

Anterior’s adaptive domain intelligence engine combines measurement with improvement. Teams first define customer priorities, such as minimizing false approvals, then create a failure mode ontology; for medical necessity reviews, categories include record extraction, clinical reasoning, and rules interpretation. Clinicians review cases, label errors, and connect failure modes to the metrics they affect.

Turn production errors into evaluations

Failure labels create evaluation datasets from real production cases, which engineers can use to track performance across pipeline versions and catch regressions. Domain experts can also suggest knowledge that might fix a specific error, such as how to interpret clinical suspicion or a scoring system. Evaluations can validate those suggestions before they reach production.

Create a tight expert-led iteration loop

A domain expert PM prioritizes failure modes and sets target performance thresholds for engineers. Engineers test prompt changes, models, fine-tuning, or other ideas against the failure datasets, then share results so the PM can weigh evaluation scores and wider product effects before release. Lovejoy says Anterior moved from about 95% to around 99% accuracy on its primary task through this kind of iteration.

Takeaways

  • Define one or two customer outcomes that the AI system must improve.
  • Build a failure taxonomy with domain experts, then label real production cases against it.
  • Use failure-specific evaluation sets to track progress and spot regressions across releases.
  • Let experts propose domain knowledge and validate its effect with evaluations before release.
  • Give a domain expert PM the evidence and authority to set priorities and performance targets.

Mentioned in this talk

Search inside this talk

What was claimed 9

  • built
    “Our AI at Anterior is called Florence.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • previously at
    Chris Lovejoy previously at Anterior
    AI engineer
    Verified7 sources· Talk, Web· archived
  • previously at
    “I worked at a health tech startup called Seracare”
    YouTube
    Unverified1 source· Talk
  • metric
    Anterior: Serves health insurance providers covering about 50 million lives in the US
    “We serve health insurance providers that cover about 50 million lives in the US.”
    YouTube
    Unverified1 source· Talk
  • feature
    Anterior: Provides clinical reasoning tools to automate and accelerate health insurance and healthcare administration
    “We provide clinical reasoning tools to automate and accelerate health insurance and healthcare administration.”
    YouTube
    Unverified1 source· Talk
  • feature
    Florence: Reviews care requests and supports decisions about whether care is medically appropriate
    “Florence needs to answer various questions.”
    YouTube
    Unverified1 source· Talk
  • metric
    Anterior: Primary task performance improved from about 95% to around 99%
    “We were at 95%, then iterated ... and got to almost silly accuracy—around 99%.”
    YouTube
    Unverified1 source· Talk
  • feature
    adaptive domain intelligence engine: Converts customer-specific domain insights into performance improvements through measurement and iteration
    “It takes customer-specific domain insights and converts them into performance improvements”
    YouTube
    Unverified1 source· Talk
  • feature
    domain expert review: Produces performance metrics, failure modes, and suggested improvements
    “These domain expert reviews ... give you three main things: performance metrics, failure modes, and suggested improvements”
    YouTube
    Unverified1 source· Talk

Related talks