diff --git a/api/models/__pycache__/requests.cpython-311.pyc b/api/models/__pycache__/requests.cpython-311.pyc index 4325db2..2b57f3c 100644 Binary files a/api/models/__pycache__/requests.cpython-311.pyc and b/api/models/__pycache__/requests.cpython-311.pyc differ diff --git a/api/models/requests.py b/api/models/requests.py index 11c3e2b..5cf1d42 100644 --- a/api/models/requests.py +++ b/api/models/requests.py @@ -13,7 +13,7 @@ class ChatMessage(BaseModel): class ChatRequest(BaseModel): query: str history: List[ChatMessage] = [] - customer_metadata: Optional[Dict] = None # Customer info: name, email, phone, user_id + customer_metadata: Dict = None # Customer info: name, email, phone, user_id class SurveyRequest(BaseModel): diff --git a/api/routes/__pycache__/chat.cpython-311.pyc b/api/routes/__pycache__/chat.cpython-311.pyc index 173d425..bcfa7f2 100644 Binary files a/api/routes/__pycache__/chat.cpython-311.pyc and b/api/routes/__pycache__/chat.cpython-311.pyc differ diff --git a/src/prompts/templates/__pycache__/chat_templates.cpython-311.pyc b/src/prompts/templates/__pycache__/chat_templates.cpython-311.pyc index 7df041a..0917d83 100644 Binary files a/src/prompts/templates/__pycache__/chat_templates.cpython-311.pyc and b/src/prompts/templates/__pycache__/chat_templates.cpython-311.pyc differ diff --git a/src/prompts/templates/chat_templates.py b/src/prompts/templates/chat_templates.py index a91b36e..003f842 100644 --- a/src/prompts/templates/chat_templates.py +++ b/src/prompts/templates/chat_templates.py @@ -706,4 +706,7 @@ NOTE: THIS IS SOLELY YOUR TASK PLEASE, NO OTHER THING : RETURN ONLY JSON FORMAT NO EXPLANATION OR EXTRA INFORMATION BEFORE OR AFTER, DO NOT ADD ```json before or after : DO NOT ADD ANYTHING ELSE TO THE JSON FORMAT, ONLY THE JSON FORMAT, do not add ```json or ``` or anything else before or after the json format : MUST USE book_survey_for_customer_after_confirmation TOOL BEFORE CONFIRMING ANY BOOKING + : DO NOT ADD ```json or ``` or anything else before or after the json format + : DO NOT ADD ANYTHING ELSE TO THE JSON FORMAT, ONLY THE JSON FORMAT, do not add ```json or ``` or anything else before or after the json format + CRITICAL !!! ONLY JSON !!! """ \ No newline at end of file