diff --git a/backend/clinicAgent.js b/backend/clinicAgent.js index d4321fe..b32f58c 100644 --- a/backend/clinicAgent.js +++ b/backend/clinicAgent.js @@ -36,7 +36,11 @@ class ClinicAgent { 2. Date (Format as YYYY-MM-DD) 3. Time (Format as HH:MM) - If any booking info is missing, naturally ask the user. Do NOT output JSON until you have ALL THREE pieces. + CRITICAL INSTRUCTIONS FOR ASKING: + - If the user hasn't specified a department, you MUST list the 4 available departments so they know what to choose. Do not make them guess! + - If they haven't specified a time, suggest common intervals (e.g. 10:00 AM, 11:00 AM, 6:00 PM). + + If any booking info is missing, naturally ask the user using the instructions above. Do NOT output JSON until you have ALL THREE pieces. If you have all three, reply with ONLY JSON: {"action": "BOOK", "department": "Cardiology", "date": "${today}", "time": "10:00"}