From 1d9c314c4f888c6994c9621b44f6cbfdb0b3155f Mon Sep 17 00:00:00 2001 From: Deep Koluguri Date: Tue, 26 May 2026 18:45:54 -0400 Subject: [PATCH] Update Claude prompt to list departments and times --- backend/clinicAgent.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"}