What miscPrompt is for
miscPrompt is the fall-back lever in the instructions block. Reach for it after contentPrompt and outputSchema are pulling their weight — only to tighten repeated misbehaviour the other two can’t cleanly prevent.
Categories where miscPrompt can be useful:
- Edge-case fallbacks — what to write when the natural case isn’t in the source.
- Vocabulary — locking the model to fixed abbreviations, units, phrasings, or relevant vocabulary.
- Defensive grounding — “do not include suspected” / “do not infer” / “only when explicitly mentioned in the source material” rules for sections where this extra critical to constrain the model from applying its intelligence.
Examples from Corti Standards
Edge-case fallback — Allergies
Three rules, all “fallback when the natural case is absent”. Adds extra robustness in combination with the prompting inmiscPrompt: For a documented allergen with no described reaction, set the reaction to: not specified. If the patient has no known allergies, outputNKDAwith an empty reaction. Do not add allergies, intolerances, or reactions not explicitly stated in the source.
outputSchema paired with the Allergies section’s array-of-objects schema { allergen, reaction }.
Why not use
defaults here? The default is output when the model does not generate anything. In the {reaction} field case, we would need 2 different defaults: one that is an empty string when allergies are explicitly negated (NKA) vs one where an allergy was mentioned but the reaction is not specified. miscPrompt handles these in the absence of conditional defaults.Vocabulary normalization — Medications & Actions-and-Plan
miscPrompt: Always use the following route abbreviations when the route is explicitly stated: PO for per os (by mouth), IV for intravenous, IM for intramuscular, SC for subcutaneous, SL for sublingual, PR for per rectum, ID for intradermal, NG for nasogastric, INH for inhalation, and TOP for topical use. Always use the following frequency phrasings when the frequency is explicitly stated: once daily, twice daily, three times daily, four times daily, every morning, every evening, at bedtime, every other day, every N hours, as needed (PRN), … Normalize route and frequency to these standardized terms instead of copying the source wording verbatim.
The two-list pattern. You could split each list as enum on a per-field schema, but enumerating in miscPrompt is more readable, easier to extend, and handles composite cases (route + frequency together) easily.
Defensive grounding — Past Surgical History
miscPrompt: Omit suspected, uncertain, planned, or merely considered procedures. Do not include the indication or outcome unless the source includes it as part of the procedure name itself.
Tight prohibition list. The model has a prior to medicalize and infer — miscPrompt is where you push back when that prior fires too often. Past Medical History uses the analogous “Omit suspected or uncertain diagnoses. Do not include treatments or negative findings.”
The same pattern shows up in Prescription (“Do not include a medication here if the clinician has merely mentioned or considered it without issuing a prescription”).
When not to use miscPrompt
contentPromptInclude/Exclude already covers it — don’t restate.outputSchemacan express it more strictly — prefer the schema. Typedenumis enforced; prose “use one of: …” is only steered.- Tone or sentence-shape (in general) — that’s writingStyle (Recipe 3). The Referral example above is borderline — sentence-count budgets are layout, not voice.
- As a dumping ground — long multi-paragraph
miscPrompts compete withcontentPromptfor attention. Keep each rule to one or two sentences. The Medications vocabulary lists are at the upper bound of acceptable length.
Related
- Recipe 1 — contentPrompt — positive scope.
- Recipe 2 — writingStylePrompt — tone and shape.
- Section Schemas —
enum&pattern— typed constraints that beat prose.