Problem
Flo Health, the women's health app, publishes thousands of medical articles a year and must keep each one consistent with current medical guidelines and its editorial style. Medical knowledge keeps changing, and reading every article by hand is slow and error-prone. The team needed to find outdated or non-compliant passages and draft corrections that experts only approve. The proof of concept (PoC) targeted 90% recall of content needing updates and a review 10x faster than manual.
Example from the article: a custom rule such as "The title of the article must be medically accurate", with adherent and non-adherent examples, is checked against articles on Vitamin D, breast health or PMS and PMDD.
Solution in brief
Split each article into paragraphs, ask an LLM for a structured adherence verdict and reason per paragraph and rule, and rewrite only the failing paragraphs. A second pipeline turns raw guideline documents into short, prioritized rules. Experts edit the rules and approve every revision.
Questions this case answers
- How to audit a large library of long-form documents against an evolving rule set when manual review is slow and inconsistent and every change needs expert sign-off
- How to convert unstructured guideline documents into atomic, prioritized, machine-checkable rules
- How to check thousands of articles against a changing set of guidelines without reading each one manually?
- How to make an LLM revise only the passages that break a rule and leave the rest of the text untouched?
Tools and methods
- Amazon Bedrock with Claude models — filtering, chunking, review, revision and rule extraction; small models for light steps, large ones for review.
- Rule Optimizer — extracts and ranks rules from guideline PDFs.
- AWS Step Functions, Lambda, Textract, S3 — orchestration, PDF-to-text, storage.
- Streamlit UI and API — expert review and batch integration.
Google or a one-time email code. No password.
