Indian customers rarely type formal Unicode paragraphs on mobile keyboards when reviewing a cafe, clinic, or salon. They mix English nouns with familiar Hinglish, Marathi, Tamil, or Gujarati phrases typed in Latin letters. Designing AI generation for that reality requires strict lexical guardrails.
1. Why Roman-Script Regional Phrasing Fits Real Behavior
When a Pune diner praises cold coffee and quick service, forcing pure textbook Hindi Devanagari or formal American English reads unnatural and discourages posting. Allowing customers to preview natural Hinglish or Roman Marathi/Tamil drafts mirrors everyday WhatsApp speech.
2. Zero-Invention System Prompts at Temperature 0.2
In Trustory, prompts pass only verified customer facts: star rating, selected aspect tags, and optional staff member names. System rules explicitly forbid inventing dishes, treatments, discounts, or promises not present in the input payload.
!
Key Architectural Rule
Keep generation temperature around 0.2 and cap tokens tightly (96 tokens for concise counter notes) to suppress creative drift.
3. Deterministic Validation Before Rendering to UI
Before any draft reaches the customer screen, a deterministic `validDraft()` check rejects non-Latin Unicode ranges when Latin output was requested, enforces character bounds, checks keyword preservation, and confirms rating consistency.
Core Architecture Principles:
✓ Never let a review assistant invent experiences the customer did not select.
✓ Validate output script, length, and confirmed keyword overlap in TypeScript.
✓ Always keep an editable preview so customers retain final authorship.