DEV Community

Cover image for CryoGPT: Building a Domain-Specific AI Assistant for IVF Laboratory Science
Cryolab Global
Cryolab Global

Posted on

CryoGPT: Building a Domain-Specific AI Assistant for IVF Laboratory Science

A technical and operational overview of a specialist AI built on the Anthropic API for a regulated clinical sector.


Most AI assistants are generalists. CryoGPT is not.

CryoGPT was built by the Cryolab development team as a domain-specific AI assistant for IVF laboratories, embryologists, fertility clinics, and cryogenic equipment specialists. The architecture is straightforward: the Anthropic API, called via a secure server-side proxy (required to avoid NGINX cache issues on the SiteGround hosting environment), with a system prompt engineered to constrain responses to IVF and cryogenic laboratory science.

The decision to use a server-side proxy rather than a WordPress plugin approach was driven by the production environment. NGINX caching on the SiteGround stack intercepted API calls made through standard WordPress REST API routes, making a standalone PHP implementation in public_html the correct solution for this configuration.

Why Domain Specificity Matters in Clinical Science

General AI models produce plausible answers. In most use cases, plausible is sufficient. In a regulated laboratory environment, plausible is dangerous.

The boiling point of liquid nitrogen at atmospheric pressure is -195.8 degrees C. Not -196. The distinction is operationally relevant when calculating hold times for dry shippers during international biological specimen transport. The critical storage threshold below which biological time effectively stops is approximately -130 degrees C. Vitrification cooling rates must exceed 10,000 degrees C per minute to qualify as true vitrification rather than ultra-rapid freezing.

These are not edge cases. They are the standard queries that arrive from embryologists, laboratory managers, and NHS procurement teams on a daily basis.

The System Prompt Approach

The CryoGPT system prompt defines the assistant's operational domain: cryogenic storage science, IVF laboratory workflows, Cryolab equipment specifications, vitrification and slow-freezing protocols, and safety requirements including HSE oxygen depletion thresholds.

The prompt enforces British English throughout (this matters for a UK-regulated clinical audience), prevents the model from providing general-purpose responses outside the specialist domain, and incorporates verified fact-check figures that are tested against known incorrect values that appear in general AI outputs.

Access

CryoGPT is available at cryolab.co.uk/cryogpt. No authentication required. The assistant handles queries from the full range of IVF laboratory professionals and flags queries that require a human specialist at Cryolab.

Top comments (0)