Last Updated: November 2026 · Applies to: DietMaze iOS & Android Apps (dietmaze.app)
1. System Overview & Intended Use
- What It Does: DietMaze analyzes food items and restaurant menus in real time, cross-referencing ingredients against selected health conditions (300+ conditions) and allergies (80+ allergens) to output High, Medium, or Low propensity scores.
- Intended Scope: Designed as an informational and educational dietary navigation tool—not a medical device, clinical diagnostic system, or substitute for a physician or registered dietitian.
2. Model Architecture, Guardrails & Grounding
- Google Gemini with Strict Guardrails: Powered by Google Gemini models governed by strict system prompting, structured output constraints, and safety guardrails to keep recommendations focused strictly on dietary analysis.
- Zero-PII Model Inference: No user PII—including name or email address—is ever sent to the AI models. Prompts contain only anonymized dietary context (conditions, allergies, and cuisine preferences) needed to score the food or menu.
- Explainable Scoring: Every High, Medium, or Low verdict includes a plain-language explanation of which ingredient or nutritional factor triggered the score.
- Evidence Grounding: Scoring logic is grounded in established public health and nutrition frameworks, including FDA FALCPA / FASTER Act allergen standards, NHS guidance, USDA FoodData Central, Open Food Facts, and ICMR IFCT.
3. Safety Limitations & Fallbacks
- No Cross-Contamination Guarantee: Vision AI evaluates visible menu text and standard dish compositions; it cannot detect hidden kitchen prep oils, sauces, or cross-contact in third-party restaurants.
- Anaphylaxis Warning: Users with severe or life-threatening allergies are explicitly advised to verify ingredients directly with restaurant staff.
- Graceful Fallbacks: If a scan fails, times out, or receives a user "thumbs down," DietMaze routes directly to manual Food Journal entry rather than guessing.
4. Privacy, Security & Full User Deletion
- Row-Level Security & Biometrics: User profiles and logs are isolated with database row-level security (RLS) and protected on-device by Face ID with app-switcher screen blurring.
- Complete Account & Data Purge: Selecting Delete Account permanently and irreversibly erases all user data, including:
- Personal information & account profile
- Health conditions, allergy profiles & cuisine preferences
- AI scan history & heatmaps
- Care Circle members & shared telemetry
- SmartCart items, AI-generated or user-added grocery lists & history
