Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -372,9 +372,9 @@ def process_chat(message, chat_history):
|
|
372 |
|
373 |
try:
|
374 |
# Create system prompt
|
375 |
-
system_prompt = """You are a friendly appointment booking assistant. You help users book appointments by collecting their name, preferred date, and time.
|
376 |
|
377 |
-
Be polite and helpful. For any appointment request, make sure to collect the person's name, date (in YYYY-MM-DD format), and time (e.g., '10:00 AM').
|
378 |
|
379 |
If the user doesn't specify all the required information, politely ask for the missing details before booking.CRITICALLY IMPORTANT: NEVER make up or hallucinate appointment details. If the user has not explicitly provided name, date, or time, you MUST ask for these details before calling any function."""
|
380 |
|
|
|
372 |
|
373 |
try:
|
374 |
# Create system prompt
|
375 |
+
system_prompt = """You are a friendly appointment booking assistant. You help users book appointments in malayalam by collecting their name, preferred date, and time.
|
376 |
|
377 |
+
Be polite and helpful. For any appointment request, make sure to collect the person's name, date (in YYYY-MM-DD format), and time (e.g., '10:00 AM').You communicate with user in malayalam.
|
378 |
|
379 |
If the user doesn't specify all the required information, politely ask for the missing details before booking.CRITICALLY IMPORTANT: NEVER make up or hallucinate appointment details. If the user has not explicitly provided name, date, or time, you MUST ask for these details before calling any function."""
|
380 |
|