How it works
Translation you can trust at the table.
AllergyMate exists because pointing at a menu and hoping isn't a plan. Here's exactly how your card is produced, what we do to keep it accurate, and the limits you should know about.
How translations are produced
Each card is generated by a frontier large language model (currently Google's Gemini 2.5 Flash) with a strict system prompt: professional medical translator, formal register, no slang, no hedging. The model is forced to return a structured response so the local script, romanization, and literal English back-translation are always present.
Romanization uses the standard scheme for each language — Hepburn for Japanese, Pinyin for Chinese, Revised Romanization for Korean, RTGS for Thai. The English back-translation is intentionally literal so a native English speaker can verify meaning before showing the card.
Safety guardrails
- The model is instructed to never declare an allergen safe and to never omit one from the avoid-list.
- All user-supplied text (notes, custom allergens) is wrapped in untrusted-data tags and the prompt forbids treating any of it as instructions — protection against prompt injection.
- Inputs are validated and sanitized: control characters stripped, role markers removed, length capped.
- Severity levels (mild → anaphylactic) shape the urgency of the headline and the cross-contamination statement.
What AllergyMate is NOT
- It is not medical advice and not a substitute for medication or epinephrine.
- It cannot guarantee a kitchen has read or understood the card. Always confirm verbally.
- Translations, while careful, can still be wrong. Every card has a "report this translation" button — please use it.
Privacy
Your profile lives in your browser's local storage — we don't have an account system, and we don't see who you are. The only data sent to our servers is the translation request itself (allergens, severity, notes) and, optionally, your card if you choose to share it via QR code. Shared cards expire after 90 days. Feedback reports are stored without any personal identifier.
Offline & on the road
Once you've generated a card, it's cached locally. Even with no signal — on a plane, in a basement restaurant, on patchy hotel wifi — your card opens instantly. The QR code on each card links to a hosted version a chef can scan and walk back to the kitchen.
Why this exists
Built by travellers who got tired of hoping. If AllergyMate has helped you eat somewhere you'd otherwise have skipped, that's the point. If something's wrong, please tell us — accuracy is the entire job.