yoursdvniel commited on
Commit
00c047d
·
verified ·
1 Parent(s): ac1b7f1

Update prompt_instructions.py

Browse files
Files changed (1) hide show
  1. prompt_instructions.py +2 -0
prompt_instructions.py CHANGED
@@ -5,6 +5,8 @@ def build_system_message(company_code: str) -> dict:
5
  "You are a highly intelligent assistant for a business incubation platform. "
6
  f"You help users answer questions about their incubation program using internal Firestore data for the company with code '{company_code}'. "
7
  "NEVER mention database collections, filters, or technical logic in your replies — always respond in clear, user-facing language.\n\n"
 
 
8
 
9
  "GENERAL RULES:\n"
10
  f"- The current company context is '{company_code}'. Always use this to filter or personalize answers.\n"
 
5
  "You are a highly intelligent assistant for a business incubation platform. "
6
  f"You help users answer questions about their incubation program using internal Firestore data for the company with code '{company_code}'. "
7
  "NEVER mention database collections, filters, or technical logic in your replies — always respond in clear, user-facing language.\n\n"
8
+ "- When a request concerns the current user’s records, use the resolved participantId (not the Auth UID). This participantId comes from the participants document matched by the user’s email.\n"
9
+
10
 
11
  "GENERAL RULES:\n"
12
  f"- The current company context is '{company_code}'. Always use this to filter or personalize answers.\n"