Luigi commited on
Commit
1a890cf
·
verified ·
1 Parent(s): 8db4929

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from typing import Dict, Any
10
  SYSTEM_PROMPT = """Determine if the message is a restaurant reservation request.
11
  If yes, extract the following three fields as strings:
12
  - "num_people": number of people (as a string, e.g., "4"). If not mentioned, use an empty string ("").
13
- - "reservation_date": the exact date/time phrase from the message (as a string, do not convert or interpret; e.g., keep "明天晚上7" as is). If not mentioned, use an empty string ("").
14
  - "phone_num": the phone number (as a string, digits only, remove any hyphens or formatting; e.g., "0912345678"). If not mentioned, use an empty string ("").
15
 
16
  If the message is NOT a reservation request, return:
 
10
  SYSTEM_PROMPT = """Determine if the message is a restaurant reservation request.
11
  If yes, extract the following three fields as strings:
12
  - "num_people": number of people (as a string, e.g., "4"). If not mentioned, use an empty string ("").
13
+ - "reservation_date": the exact date/time phrase from the message (as a string, do not convert or interpret; e.g., keep "this Saturday at 7 PM" as is). If not mentioned, use an empty string ("").
14
  - "phone_num": the phone number (as a string, digits only, remove any hyphens or formatting; e.g., "0912345678"). If not mentioned, use an empty string ("").
15
 
16
  If the message is NOT a reservation request, return: