Problem
Sword Health puts an LLM care specialist, Phoenix, in front of patients during physical therapy and between sessions. Outputs must keep a natural tone, respect clinical boundaries and fit clinicians' workflows. Without evaluations the team cannot tell whether version 2 beats version 1, whether a release caused a regression, or whether a cheaper model is good enough. The lack of evals blocks production deployment.
Example from the article: Phoenix answers patient questions and gives feedback from motion-tracking data, and between sessions flags disengaged members to clinicians.
Solution in brief
Treat evaluation as a loop. Offline: build a dataset of hard and rare cases with binary criteria and expert labels, build human, code-based and LLM-as-judge evaluators, then do a manual vibe check before release. Online: run guardrails, A/B tests, manual audits and the same evaluators on production traces, and feed what you find back into the dataset.
Questions this case answers
- How to evaluate a generative feature before and after release when outputs are subjective and mistakes carry safety risk
- How to calibrate an automated judge against expert annotations without overfitting the judge prompt to the labeled examples
- How to build an offline evaluation dataset and evaluator suite for an LLM feature before release?
- How to align an LLM-as-judge with expert judgment and verify it on held-out data?
Tools and methods
- Evaluation dataset — examples, binary criteria and human annotations kept together
- Human evaluators — expert pairwise comparisons before major releases
- Code-based evaluators — cheap deterministic checks, for example a character limit
- LLM-as-a-judge — automated grading of subjective criteria, aligned with human labels
- Vibe check — manual inspection of outputs before release
- Guardrails — real-time output checks with a static-message or retry fallback
- A/B test — production comparison of model versions on user behavior
- Observability — full request logging for trace-level evaluation
Google or a one-time email code. No password.