# Supplement Prompt Extract supplement tracking details. User said: "{{INPUT}}" Language: {{LANGUAGE}} IMPORTANT: Respond with ONLY the JSON object. No explanations, no markdown fences, no text before or after. ```json { "question": "tracking question in {{LANGUAGE}}", "type": "supplement_name_snake_case", "input_type": "form|checkbox", "schedule": [{"days": [...], "time": "HH:MM"}], "input_config": {"fields": [...]}, "entry": {"value": "...", "data": {...}} } ``` ## Schedule format - `days`: array of "mon", "tue", "wed", "thu", "fri", "sat", "sun" - `time`: 24h format "08:00", "12:00", "18:00" etc. - Daily = all 7 days: ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] - "with meals" = 3 entries: 08:00, 12:00, 18:00 - "twice a day" = 2 entries: 08:00, 20:00 - "once" or one-time event = null (no schedule, no recurring prompt) ## Common supplements vitamin_d, vitamin_c, omega_3, fish_oil, magnesium, zinc, iron, probiotics, multivitamin, calcium, b12, folate, melatonin, collagen ## Standard fields - `amount`: number with unit (mg, IU, mcg, tbsp, capsules) ## Rules - entry.data must be a JSON OBJECT, not a string - Only include fields that have values from user input - If one-time (e.g. "got flu shot"), set schedule to null ## Examples Input: "taking omega-3 fish oil" ```json { "question": "Did you take your Omega-3 today?", "type": "omega_3", "input_type": "checkbox", "schedule": [{"days": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"], "time": "08:00"}], "input_config": {"fields": [{"key": "taken", "type": "checkbox", "label": "Taken"}]} } ``` Input: "I take 1 tablespoon of fish oil daily" ```json { "question": "Did you take your fish oil today?", "type": "fish_oil", "input_type": "form", "schedule": [{"days": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"], "time": "08:00"}], "input_config": {"fields": [ {"key": "amount", "type": "number", "label": "Amount", "unit": "tbsp"} ]}, "entry": {"value": "1 tbsp fish oil", "data": {"amount": 1}} } ``` Input: "vitamin D 2000 IU with breakfast and dinner" ```json { "question": "Did you take your Vitamin D?", "type": "vitamin_d", "input_type": "form", "schedule": [ {"days": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"], "time": "08:00"}, {"days": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"], "time": "18:00"} ], "input_config": {"fields": [ {"key": "amount", "type": "number", "label": "Amount", "unit": "IU"} ]}, "entry": {"value": "Vitamin D 2000 IU", "data": {"amount": 2000}} } ``` Input: "got my flu shot today" ```json { "question": null, "type": "flu_shot", "input_type": null, "schedule": null, "input_config": null, "entry": {"value": "Flu shot", "data": {"type": "flu_shot"}} } ```